/// <summary> /// The copy constructor /// </summary> /// <param name="source">A <see cref="Exam"/> instance to copy the data from</param> public Exam( Exam source ) { _student = source._student; _subject = source._subject; _examiner = source._examiner; _assistant = source._assistant; }
/// <summary> /// Constructs a new exam /// </summary> /// <param name="student">The student being examined</param> /// <param name="subject">The subject being examined</param> /// <param name="examiner">The teacher examining the student</param> /// <param name="assistant">The assistant teacher</param> public Exam( Student student, Subject subject, Teacher examiner, Teacher assistant ) { _student = student; _subject = subject; _examiner = examiner; _assistant = assistant; }
/// <summary> /// The copy constructor /// </summary> /// <param name="source">A <see cref="Student"/> object to copy the data from</param> public Student( Student source ) { _name = source._name; _class = source._class; _disabilityLevel = source._disabilityLevel; }