摘要:
class Program { [Flags] public enum Week { [Description("星期一")] Monday = 1 /// 从枚举类型和它的特性读出并返回一个键值对 /// /// Type,该参数的格式为typeof(需要读的枚举类型) /// 键值对 public static NameValueCollection GetNVCFromEnumValue(Type enumType) { NameValueCollection nvc = new ... 阅读全文