예제 #1
0
 public void PrintContestantInfo(Contestant contestant)
 {
     UserInterface.DisplayContestantInfo(contestant.FirstName, contestant.LastName, contestant.EmailAddress, contestant.RegistrationNumber);
 }
예제 #2
0
 // constructor
 public Contestant()
 {
     this.firstName    = UserInterface.SetContestantFirstName();
     this.lastName     = UserInterface.SetContestantLastName();
     this.emailAddress = UserInterface.SetContestantEmail();
 }