Cast an Int Value to an Enum Value in C# January 25, 2019 Oftentimes, the input is an integer that has to be converted to the appropriate enum value. All we have to do is cast the integer value as below: EnumName e