Beispiel #1
0
 public void RemoveSchoolClass(SchoolClass schoolClass)
 {
     if (!this.classList.Contains (schoolClass))
     {
         throw new ArgumentException ("No such class in this school found !");
     }
     this.classList.Remove (schoolClass);
 }
Beispiel #2
0
 public void AddSchoolClass(SchoolClass schoolClass)
 {
     this.classList.Add (schoolClass);
 }