static void Main() { Examinee student = new Examinee("3180707001", "周林好"); student.Grading(55m); student.Grading(58m); student.Grading(59m); student.Grading(60m); ReadLine(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="examinee">考生</param> public NormalState(Examinee examinee) : base(examinee) { ; }
/// <summary> /// 构造函数; /// </summary> /// <param name="examinee">考生</param> public RetakingState(Examinee examinee) : base(examinee) { ; }
/// <summary> /// 构造函数; /// </summary> /// <param name="examinee">考生</param> public ResitState(Examinee examinee) : base(examinee) { ; }
/// <summary> /// 构造函数; /// </summary> /// <param name="examinee">考生</param> public PassedState(Examinee examinee) : base(examinee) { ; }