public void AddSubjectsInStudent(IStudent student) { if (student == null) { throw new ArgumentNullException(nameof(student)); } student.AddSubjects(Subjects); }