摘要: 1、首先需要写一个接口类 class StuDesc:Icompare { public int Compare(Students x,Students y) { return y.Students.CompareTo(x.Students) } } 2、需要排序的数据在泛型集合里面 list<St 阅读全文
posted @ 2021-11-09 22:12 跨界专家 阅读(93) 评论(0) 推荐(0)