Пример #1
0
 public Course(string name, double duration, string coursePlan, FacultyMember prof, string room)
 {
     this.name       = name;
     this.duration   = duration;
     this.coursePlan = coursePlan;
     this.prof       = prof;
     this.room       = room;
 }
Пример #2
0
 //creating a course
 public void CreateCourse(string name, double duration, string coursePlan, FacultyMember prof, string room, List <Student> clas)
 {
     new Course(name, duration, coursePlan, prof, room, clas);
     Console.WriteLine($"the course {name} has been created");   //confirmation that the course has been created
 }