摘要:
要使用List,需添加引用:using System.Collections.Generic; //定义成绩类 public class score { public string stuName { get; set; } public int scoreYuwen { get; set; } public int scoreShuxue { get; set; } public int scoreTotal { get{return scoreYuwen+scoreShuxue;} } public string sex { get; set; } } //定义排序类,继承ICompa.. 阅读全文