enum MyEnum
{
a = 1 ,
b = 2 ,
c = 3 ,
}
foreach ( string vName in Enum . GetNames( typeof ( MyEnum )))
Console . WriteLine(vName);
foreach ( int vValue in Enum . GetValues( typeof ( MyEnum )))
Console . WriteLine(vValue);