#region Linq to 字符串char.IsUpper意思是判断是否大写
//string strDemo = "HelloWord!"; //var query = from n in strDemo // where char.IsUpper(n) // select n; //foreach (char c in query) //{ // Console.WriteLine(c); //}#endregion
本文共 272 字,大约阅读时间需要 1 分钟。
#region Linq to 字符串char.IsUpper意思是判断是否大写
//string strDemo = "HelloWord!"; //var query = from n in strDemo // where char.IsUpper(n) // select n; //foreach (char c in query) //{ // Console.WriteLine(c); //}#endregion
转载于:https://www.cnblogs.com/914556495wxkj/p/4366594.html