System.Int32 = int
System.String = string
System.Boolean =bool
System.Char = char你说的char 和string 可以,Bool 和Int不行。
System.String = string
System.Boolean =bool
System.Char = char你说的char 和string 可以,Bool 和Int不行。
解决方案 »
- 大型网站的网页中的股票数据能否获取到?
- 求万恶的电子邮件正则表达式
- 想问一下 句柄 与 焦点 有是 什 么 区 别 ?
- WinForm双击DataGrid中一行弹出一对话框怎么做?请高手赐教
- .net2005装完用了一天,第二天回来打不开设计器了,有朋友遇到过吗?
- 面试题,给大家娱乐一下
- 我定义了一个string的数组,怎么知道一个string值找到它在string数组里的位置?
- 关于《JTT808部标协议》平台通用应答问题,求高手指点
- 遍历Repeater批量更新数据,为何只修改了第一行,新手,求指导
- 哪里有MCAD认证考试的电子教材下载?比如70-300,70-315,70-316
- 程序员的职业生涯有多长?20年?30年?还是。。。
- 少了一元钱. 嗨!聪明的人们快来算一算,算不出来,可不要骂自己笨
而你已经using System;所以可以直接写Int32,String...
不过Int应该不行吧。
using System ;
你用的String是System.String的省略写法。
bool System.Boolean
byte System.Byte
sbyte System.SByte
char System.Char
decimal System.Decimal
double System.Double
float System.Single
int System.Int32
uint System.UInt32
long System.Int64
ulong System.UInt64
object System.Object
short System.Int16
ushort System.UInt16
string System.String