摘要:
http://www.cnblogs.com/chengxiaohui/articles/1980088.html利用DescriptionAttribute定义枚举值的描述信息我们知道System.ComponentModel命名空间下有个名为DescriptionAttribute的类用于指定属性或事件的说明,我所调用的枚举值描述信息就是DescriptionAttribute类的Description属性值。 首先定义一个枚举/**////<summary>///测试用的枚举///</summary>publicenumArticleTypeList{[Descr 阅读全文