2012年10月24日
摘要: using System; public class EnumTest { enum Days { Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday }; public static void Main() { Type weekdays = typeof(Days); Console.WriteLine("The days of the week, and their corresponding values in the Days Enum are:"); foreach ( string s 阅读全文
posted @ 2012-10-24 16:24 NLazyo 阅读(264) 评论(0) 推荐(0) 编辑