摘要: 如: Enum ShowPosition { 首页 = 0,一级分类页 = 1,二级分类页 = 2 } 想获得汉字对应的数字,可用GetHashCode() html展示如下:循环枚举 @foreach (B2B.Enum.ShowPosition pd in Enum.GetValues(type 阅读全文
posted @ 2018-05-22 08:47 午夜阳光~ 阅读(1483) 评论(8) 推荐(0) 编辑