get enum value by int code example Example: get enum int by name int enumInt = (int) Enum.Parse(typeof(Your_Enum), string_name);