I can't select between two methods of converting. What is the best practice by converting from enum to int
1:
public static int EnumToInt(Enum enumValue) { return Convert.ToInt32(enumValue); } 2:
public static int EnumToInt(Enum enumValue) { return (int)(ValueType)enumValue; }