摘要: List list = new List { "This is a string" }; foreach (string entry in list) { Console.WriteLine(entr... 阅读全文
posted @ 2010-02-22 16:06 如斯夫 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 枚举类型的基础类型可以是除char以外的任意整形 enum Range: long { Max = 2147483648L, Min = 255L } 但默认的基础类型是int 阅读全文
posted @ 2010-02-22 09:07 如斯夫 阅读(127) 评论(0) 推荐(0) 编辑