假设您有一个这样的枚举:
typeof
和类似这样的循环
public enum CardNumber
{
Two = 2,Three = 3,Four = 4,Five = 5,Six = 6,Seven = 7,Eight = 8,Nine = 9,Ten = 10,Jack = 'J',Queen = 'Q',King = 'K',Ace = 'A',}
如何获取identifers值?我尝试执行.Getvalues(),但我无法转换为适合System.Type的格式。
谢谢。
示例我想要2、3、4、5等值