代码如下:public class Problem { public Problem() { ID = 0; Type = 0; Score = 0; Difficulty = 00; Points = new List(); } public Problem(Problem p) { ID = ID; Type = Type; Score = Score; Difficulty = Difficulty; Points = Points; } /// /// 编号 /// public int ID { get; set; } /// /// 题型(1、2、3、4、5对应单选,多选,判断,填空,问答) /// public int Type { get; set; } /// /// 分数 /// public int Score { get; set; } /// /// 难度系数 /// public double Difficulty { get; set; } /// /// 知识点 /// public List Points { get; set; }}