2015-10-28 Enum型のキャスト C# MyEnumTypeというEnum型があるとする、 EnumはNullableではない。as演算子はNullableのみ。 (MyEnumType)obj キャストはOK。 MyEnumType as obj はだめ。