public Course(string code, string name, int ects, int hours, CourseType type, int semester, AvailableCourseStreams streams, CourseProfessors courseProfessors) { Code = code; Name = name; ECTS = ects; Hours = hours; Type = type; Semester = semester; AvailableCourseStreams = streams; CourseProfessors = courseProfessors; }
// Too long constructor, innit public Course(string code, string name, int ects, int hours, CourseType type, int semester, AvailableCourseStreams streams, string professor1, string professor2) : this(code, name, ects, hours, type, semester, streams, new CourseProfessors(professor1, professor2)) { }