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