Example #1
0
 public void ChangeEnrollment(Enrollment enrollment)
 {
     type = ChooseType(enrollment);
 }
Example #2
0
 public Student(string name, string course, Enrollment enrollment)
 {
     this.name   = name;
     this.course = course;
     type        = ChooseType(enrollment);
 }