//查询List是否含有某个值 bool IsContains = Lists.Exists((x)=>x=="B11");
//List重新排序 List<int> arr = new List<int>() { 11, 2, 13, 4, 5, 6, 7 };
//1. var re =arr.OrderBy(g => g);
//2. var ree = from g in arr orderby g descending select g; foreach (var item in re) { Console.WriteLine(item); } Console.ReadLine();