摘要: public enum ColorType { Red = 10, Blue = 20, Green = 30, Yellow = 40, } ####Enum-->String 法一:利用Object.ToString()方法:如Colors.Green.ToString()的值是"Green"字 阅读全文
posted @ 2022-03-09 09:28 悟自省 阅读(685) 评论(0) 推荐(1) 编辑
摘要: using System; using System.Security.Cryptography; using System.Text; namespace SPACore.Extensions { /// <summary> /// Extension methods for hashing st 阅读全文
posted @ 2022-03-09 09:00 悟自省 阅读(338) 评论(0) 推荐(1) 编辑