Beispiel #1
0
 public Course(int id, string name, Semester parent,int hour)
 {
     this.ID = id;
     this.Name = name;
     this.CourseSemester = parent;
     this.NumberOfHours = hour;
     this.SectionList = new List<Section>();
 }
Beispiel #2
0
 public Curriculum(Department connected_dep)
 {
     isFitnessChanged = true; //calculate at the beginning, of course!
     this.department = connected_dep;
     semesters = new Semester[8];
     for(int i=0;i<8;i++)
     {
         Semester sem = new Semester(i,this);
         semesters[i] = sem;
     }
 }