Fork me on GitHub
听雨轩
生命易破碎,梦想只争朝夕!
摘要: //方法:public static string GetEnumDescription<TEnum>(object value) { Type enumType = typeof(TEnum); if (!enumType.IsEnum) { throw new ArgumentException("enumItem requires a Enum "); } var name = ... 阅读全文
posted @ 2010-09-16 21:37 流水殇 阅读(3283) 评论(0) 推荐(0) 编辑