Пример #1
0
 public Class(Class cl)
 {
     this.Name = cl.Name;
     this.Pupils.Clear();
     foreach (Pupil p in cl.Pupils)
     {
         this.Pupils.Add(new Pupil(p));
     }
 }
Пример #2
0
 public ClassSelected(Class selectedClass)
 {
     this.SelectedClass = selectedClass;
 }