📜  c# 从值中获取枚举名称 - C# 代码示例

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

代码示例2
string name=(weekdays)2;//returns weekdays which has value 2.Here weekdays is enum name