Beispiel #1
0
 public School()
 {
     ChildList = new List <SchoolChild>();
     subjects  = new Subjects();
 }
Beispiel #2
0
 private School(SerializationInfo info, StreamingContext context)
 {
     ChildList = info.GetValue(nameof(ChildList), typeof(List <SchoolChild>)) as List <SchoolChild>;
     subjects  = (Subjects)info.GetValue(nameof(subjects), typeof(Subjects));
 }