📜  c# 从字符串中获取枚举值 - C# 代码示例

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

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