摘要:
#region Linq to 字符串char.IsUpper意思是判断是否大写 //string strDemo = "HelloWord!"; //var query = from n in strDemo // where char.IsUpper(n) // select n; //for... 阅读全文
摘要:
#region linq to 数组 //定义数组,并初始化 string [] array = new string []{"Juan", "Mike", "Tom", "John", "Andy"}; //查询首字母是J的名称 //var result = from n in array //... 阅读全文