c#將枚舉轉換爲集合

例:有如下枚舉 public enum EnumGame { Aw = 11, Bw= 21, Cw=31, Dw=41, } 先定義一個實體類 public class EnumberGame { public int GameId { set; get; } public string GameValue { set; get; } } 在定義一個集合 List list = new List
相關文章
相關標籤/搜索