示例#1
0
 public ClassRoom(Pupil pupil1, Pupil pupil2)
 {
     _pupil.AddRange(new[] { pupil1, pupil2 });
 }
示例#2
0
 public ClassRoom(Pupil pupil1, Pupil pupil2, Pupil pupil3, Pupil pupil4)
 {
     _pupil.AddRange(new[] { pupil1, pupil2, pupil3, pupil4 });
 }
示例#3
0
 public ClassRoom(Pupil pupil)
 {
     this.Pupil = pupil;
 }