摘要: List<int> tmp = new List<int>(){5,1,22,11,4}; 升序:tmp.Sort((x, y) => x.CompareTo(y)); 降序:tmp.Sort((x, y) => -x.CompareTo(y)); List<Student> students = 阅读全文
posted @ 2016-10-20 15:26 蕤颜 阅读(151) 评论(0) 推荐(0) 编辑