摘要:
public enum AccountType { [Description("支付宝充值")] ALIPAY = 1, [Description("银联充值")] UNIONPAY = 2}public static string GetEnumName(int value) where T : new() { Type t = typeof(T); foreach (MemberInfo mInfo in t.GetMembers()) { if (mInfo.Name == t.GetEnumName(value)) { foreach (Attr 阅读全文
posted @ 2013-12-03 17:28
快乐就好
阅读(2624)
评论(0)
推荐(0)

浙公网安备 33010602011771号