convert enum type to int c# code example Example: c# enum to int Just cast the enum, e.g. int something = (int) WeaponType.BFG;