🌈 搜索
📅  最后修改于: 2022-03-11 14:48:47.983000             🧑  作者: Mango
MyEnum myEnum = (MyEnum)myInt; MyEnum myEnum = (MyEnum)Enum.Parse(typeof(MyEnum), myString);