Replace Enum.GetName(typeof(EnumType), value) with Enum.GetName(value) to use the modern generic overload.