摘要: 基元类型:编译器直接支持的数据类型 基元类型直接映射到FCL类库上,如int 和Int32是等价的,只不过是int是c#提供的,Int32是FCL类库提供的。 int只是Int32的别名using int=System.Int32;使用Int32:System.Int32 number = new System.Int32();number = 2; Console.WriteLine(number); Console.ReadKey(); 生成IL代码为:.method private hidebysig static void Main(string[] args) cil managed 阅读全文
posted @ 2013-08-11 13:17 秋壶冰月 阅读(1085) 评论(0) 推荐(2) 编辑