摘要:
[分享][C#]Enum枚举类型使用总结public enum Colors { Red = 1, Green = 2, Blue = 4, Yellow = 8 }; The entries of the Colors Enum are:RedGreenBlueYellow根据name获得Enum的类型:Colors mycolor = (Colors)Enum.Parse(typeof(Col... 阅读全文
posted @ 2009-11-05 09:17
晋荣将军
阅读(1482)
评论(0)
推荐(0)

浙公网安备 33010602011771号