public ClassRoom(Pupil pupil1, Pupil pupil2, Pupil pupil3) { classRoom = new Pupil[4] { new Pupil(), pupil1, pupil2, pupil3 }; }
public ClassRoom(Pupil pupil1, Pupil pupil2, Pupil pupil3, Pupil pupil4) { classRoom = new Pupil[4] { pupil1, pupil2, pupil3, pupil4 }; }
public ClassRoom(Pupil p1, Pupil p2) { arrPupil = new Pupil[] { p1, p2 }; }
public ClassRoom(Pupil pupil1, Pupil pupil2) { classRoom = new Pupil[4] { new Pupil(), new Pupil(), pupil1, pupil2 }; }
public ClassRoom(Pupil p1, Pupil p2, Pupil p3) { arrPupil = new Pupil[] { p1, p2, p3 }; }
public ClassRoom(Pupil p1, Pupil p2, Pupil p3, Pupil p4) { arrPupil = new Pupil[] { p1, p2, p3, p4 }; }
public ClassRoom(Pupil pupil1, Pupil pupil2) { pupil.Add(pupil1); pupil.Add(pupil2); }
public ClassRoom(Pupil pupil1, Pupil pupil2, Pupil pupil3) : this(pupil1, pupil2) { pupil.Add(pupil3); }
/// <summary> /// Instance constructor with three arguments /// </summary> /// <param name="p0"></param> /// <param name="p1"></param> /// <param name="p2"></param> public ClassRoom(Pupil p0, Pupil p1, Pupil p2) : this(p0, p1) { pupils[2] = p2; }