示例#1
0
 public ClassRoom(Pupil pupil_1, Pupil pupil_2, Pupil pupil_3, Pupil pupil_4)
 {
     pupils = new Pupil[] { pupil_1, pupil_2, pupil_3, pupil_4 };
 }
示例#2
0
 public ClassRoom(Pupil pupil_1, Pupil pupil_2)
 {
     pupils = new Pupil[] { pupil_1, pupil_2 };
 }