随笔分类 - C#
摘要:获取方法 for (int j = 0; j < name.InnerText.Length; j++) _Temp = _Temp + GetOneIndex(name.InnerText.Substring(j, 1)); MessageBox.Show( _Temp.ToLower()); 大
阅读全文
摘要:需要引用using System.Text.RegularExpressions; Regex r = new Regex("^\\s*([A-Za-z0-9_-]+(\\.\\w+)*@(\\w+\\.)+\\w{2,5})\\s*$"); if (r.IsMatch(jieta@sina.com
阅读全文
摘要:使用之前添加using Newtonsoft.Json.Linq;引用 JArray : JArray arr = new JArray(); arr.Add(new JValue(1)); arr.Add(new JValue(2)); arr.Add(new JValue(3)); Consol
阅读全文

浙公网安备 33010602011771号