Browse Source

Update README.md

懒得勤快 1 year ago
parent
commit
2faa24df89
1 changed files with 0 additions and 1 deletions
  1. 0 1
      README.md

+ 0 - 1
README.md

@@ -654,7 +654,6 @@ var dic2 = typeof(MyEnum).GetDescriptionAndValue();// 获取字符串表示和
 string desc = MyEnum.Read.GetDescription();// 获取Description标签
 string display = MyEnum.Read.GetDisplay();// 获取Display标签的Name属性
 var value = typeof(MyEnum).GetValue("Read");//获取字符串表示值对应的枚举值
-string enumString = 0.ToEnumString(typeof(MyEnum));// 获取枚举值对应的字符串表示
 ```
 
 ```csharp