2
我有一个枚举返回枚举名称基值
public enum citys
{
a=1,
b=1,
c=1,
d=2,
e=2,
f=2,
};
而且我要在值。例如返回Name
基地,foreach return Enum.GetNames
是Value =1
result --> a,b,c
foreach return Enum.GetNames that Value =2
result --> d,e,f
感谢您的帮助。
非常感谢我的问题从你的code.thanks解决 –