把INT类型转换成枚举
public Enum AAA{dd,ddd,dddd,d}
int d=2;
AAA a=(AAA)d;
把枚举转化成INT
AAA a;
int a = Convert.ToInt32(a.dd);