摘要: 1.值类型:数值类型,bool,结构。 引用类型:类,接口,string,object。// 值类型变量 public static void Main(string[] args){ int a = 5; b = a; // 需要关键理解的地方 b = 10; Console.WriteLine(b); // 打印输出 10 Console.ReadLine();}// 引用类型变量public static void Main(string[] args){ Student stu1 = new Student(); Student stu2 = new Student(); stu1.N 阅读全文
posted @ 2011-03-01 13:58 一方一净土 阅读(228) 评论(0) 推荐(1) 编辑