コード例 #1
0
        static void Main()
        {
            Examinee student = new Examinee("3180707001", "周林好");

            student.Grading(55m);
            student.Grading(58m);
            student.Grading(59m);
            student.Grading(60m);
            ReadLine();
        }
コード例 #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="examinee">考生</param>
 public NormalState(Examinee examinee)
     : base(examinee)
 {
     ;
 }
コード例 #3
0
 /// <summary>
 /// 构造函数;
 /// </summary>
 /// <param name="examinee">考生</param>
 public RetakingState(Examinee examinee)
     : base(examinee)
 {
     ;
 }
コード例 #4
0
 /// <summary>
 /// 构造函数;
 /// </summary>
 /// <param name="examinee">考生</param>
 public ResitState(Examinee examinee)
     : base(examinee)
 {
     ;
 }
コード例 #5
0
 /// <summary>
 /// 构造函数;
 /// </summary>
 /// <param name="examinee">考生</param>
 public PassedState(Examinee examinee)
     : base(examinee)
 {
     ;
 }