摘要:
///<summary>///是否中文名字///</summary>///<paramname="name"></param>///<returns></returns>publicstaticboolIsChinese(stringname){if(String.IsNullOrEmpty(name))returnfalse;else{Regexreg=newRegex(@"^[\u4E00-\u9FA5]{1,20}$");returnreg.IsMatch(name);}}// 阅读全文