📜  通过索引获取枚举 c# 代码示例

📅  最后修改于: 2022-03-11 14:49:00.330000             🧑  作者: Mango

代码示例1
//Returns the enum value at the index
(EnumType)int;

//returns the string of the enum value at the index
(EnumType)int.ToString();