hello

摘要: 如果我们的枚举类型结构如下,我们需要获取enum的name,value以及description public enum EnumTest { [Description("Attribute")] Attribute1 = 1, [Description("Attribute")] Attribute2 = 2, [Description("Measure")] Measure1 = 3, [Description("Measure")] Measure2 = 4 ... 阅读全文
posted @ 2013-05-13 10:41 B追风少年 阅读(10203) 评论(1) 推荐(0) 编辑
摘要: public static class StringHelper { /// <summary> /// convert string to list by separators /// </summary> /// <param name="str">the string you want to deal with</param> /// <param name="separators">the separator char array </param> /// <retur 阅读全文
posted @ 2013-05-13 10:10 B追风少年 阅读(302) 评论(0) 推荐(0) 编辑

hello too