// var queryResults = names.OrderByDescending(n => n).Where(n => n.StartsWith("s")); 方法语法 降序查找
//查询语法
var queryResults =
from c in names
where c.StartsWith("S")//元素以S开头
where c.Length>4//元素长度大于4
// where c.Contains("Q")//元素里面包含Q
orderby c //orderby descending 降序
select c;