摘要: int week = (int)WEEK.TUESDAY; Console.WriteLine(week);//输出10 Console.Read(); public enum WEEK { MONDAY = 1, TUESDAY=10 } 阅读全文
posted @ 2013-05-31 21:23 Predator 阅读(293) 评论(0) 推荐(0) 编辑
摘要: private static void GetName(Name name) { name = new Name("gan", "fu"); } public class Name { public string FirstName { get; set; } public string LastName { get; set; } public Name() { } public Name(string firstName,string lastName) { this.FirstName = firstName; this.LastName = la 阅读全文
posted @ 2013-05-31 21:22 Predator 阅读(128) 评论(0) 推荐(0) 编辑