public Section(string course, string name, int openSeats, int waitList, params ClassSequence[] classTypesAndSchedules) { Course = course; Name = name; OpenSeats = openSeats; WaitList = waitList; foreach (var myClass in classTypesAndSchedules) { ClassSequences.Add(myClass); if (!Instructors.Contains(myClass.Instructor)) { Instructors.Add(myClass.Instructor); } } }