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