Convert INT type to enumeration
public Enum ?AAA{dd,ddd,dddd,d}
int d=2;
AAA ?a=(AAA)d;
Convert enumeration to INT
int a = ?Convert.ToInt32(a.dd);