public void LeaveStudentFromCourse(Student student, Course course) { if (student == null) { throw new ArgumentNullException("student cannot be null"); } if (course == null) { throw new ArgumentNullException("course cannot be null"); } course.Leave(student); }