Ejemplo n.º 1
0
 public Student(RegistrationNumber regNumber, PlainText name)
 {
     if (RegNumber != regNumber && PlainText.Compare(Name, name) == 0)
     {
         throw new InexistingStudent("Student does not exist!");
     }
     RegNumber = regNumber;
     Name      = name;
 }