Browse Source

Merge branch 'master' of https://github.com/ldqk/Masuit.Tools

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

+ 0 - 1
README.md

@@ -658,7 +658,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