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