摘要: 1,何谓基元类型总所周知,c#中有简化的语法来操纵常用的数据类型,比如可以直接这样写:int a=0;string str="abc";等等,相比起System Int32 a=new System.Int32()来的简单很多吧。那么编译器直接支持的数据类型称为基元类型,基元类型直接映射到Framework类库中存在的类型。常见的有:C#基元类型FCL类型说明byteSystem.Byte无符号8位值intSystem.Int32有符号32位值stringSystem.String一个字符数组floatSystem.SingleIEEE32位浮点值boolSystem.Bo 阅读全文
posted @ 2012-10-23 20:05 cryAllen 阅读(1859) 评论(5) 推荐(2) 编辑