Пример #1
0
 public ClassRoom(Pupil newPupil_1, Pupil newPupil_2)
 {
     pupils = new List <Pupil>();
     pupils.Add(newPupil_1);
     pupils.Add(newPupil_2);
 }
Пример #2
0
 public void inputData(Pupil pupil)
 {
     pupils.Add(pupil);
 }