public Lecturer(string idt, string firstNamet, string middleNamet, string lastNamet) { Id = idt; FirstName = firstNamet; MiddleName = middleNamet; LastName = lastNamet; timetable = new Timetable(); }
public Student(string idt, string firstNamet, string middleNamet, string lastNamet) { Id = idt; FirstName = firstNamet; MiddleName = middleNamet; LastName = lastNamet; timetable = new Timetable(); courseEnrolled = new List<string>(); }
public Lecturer() { timetable = new Timetable(); }
public void Printtimetable() { Course cou; ArrayList result; Timetable timetable; ClassPeriod clap; string tmp; foreach (object element in ca.objectList) { cou = element as Course; result = ReturnClassPreriodOfCourse (cou.Id); timetable = new Timetable (); foreach (object element1 in result) { clap = element1 as ClassPeriod; tmp = ca.GetNameFromID (clap.Courseid) + " - " + la.GetNameFromID (clap.Lecturerid); timetable.ReserveTime (tmp, clap.WeekDay, clap.StartTime, clap.EndTime); } Console.WriteLine ("Time table for: " + cou.Name); timetable.Printme (); timetable = null; } }
public Room(string namet) { Name = namet; timetable = new Timetable(); }