2017年1月18日
摘要: 为什么会出现$符号,c#6.0才出现的新特性 [csharp] view plain copy print? var s = string.Fromat("{0}+{1}={2}",12,23,12+23) 用起来必须输入string.Fromat,使用{0}占位符,必须按照0,1,2,3,...循 阅读全文
posted @ 2017-01-18 23:00 王庆东mas 阅读(269) 评论(0) 推荐(0) 编辑
摘要: C#将字符转换成utf8编码 GB321编码转换 public static string get_uft8(string unicodeString) { UTF8Encoding utf8 = new UTF8Encoding(); Byte[] encodedBytes = utf8.GetB 阅读全文
posted @ 2017-01-18 21:57 王庆东mas 阅读(2924) 评论(0) 推荐(0) 编辑