Example #1
0
 public Student(string name, ISchool schoolEnrolledIn)
 {
     this.Name = name;
     Validator.CheckIfNull <ISchool>(schoolEnrolledIn);
     this.ID = schoolEnrolledIn.GetUniqueStudentID();
 }
Example #2
0
 public Student(string name, ISchool schoolEnrolledIn)
 {
     this.Name = name;
     Validator.CheckIfNull<ISchool>(schoolEnrolledIn);
     this.ID = schoolEnrolledIn.GetUniqueStudentID();
 }