asp.net中的等效关键字 [英] equivalent keyword in asp.net

查看:78
本文介绍了asp.net中的等效关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否存在与VB.NET Dim关键字等效的ASP.NET关键字?

Is there a ASP.NET keyword equivalent to the VB.NET Dim keyword?

推荐答案

DIM代表 内存中的声明 的。单词DIM用于声明变量。原始的Basic语言不需要或没有类型定义。所有变量都是数字,没有区分整数和实数/浮点数。为变量分配空间很简单,它们的类型和大小都相同。



在C#中,没有任何这样的关键字。在声明数据类型时,只有内存得到'分配。



--Amit
DIM stands for Declaration in Memory. the words DIM is used to declare a variable. The original Basic language did not require or have a type definition. All variables were numeric with no distinction between integer and real/float. Assigning space for a variable was easy, they were all the same type and size.

In C#, there is no any such keyword. While declaring the datatype only memory get''s allocated.

--Amit


否,没有任何这样的关键字。
NO,there is no any such keyword.


你不需要C#中的任何等价物。您可以直接定义变量名称。



例如 string myStr;
You don''t need any equivalent in C#. You can directly define a variable name.

E.g. string myStr;


这篇关于asp.net中的等效关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆