Cast it to the enum type: C#. Copy Code. MyEnum me = (MyEnum) myInteger; Then just use the ToString override to get the enum value name:.
確定! 回上一頁