예제 #1
0
 public void RegisterContestant(Contestant contestant)
 {
     contestant.RegistrationNumber = MakeRandomNumber();
     UserInterface.GetUserInputFor(contestant);
     UserInterface.GiveUserInformation(contestant.RegistrationNumber, contestant.FirstName, name); //or Name?
 }
예제 #2
0
 public void PrintContestantInfo(Contestant contestant)
 {
     UserInterface.PrintContestantInformaton(contestant);
 }
예제 #3
0
 public static void PrintContestantInformaton(Contestant contestant)
 {
     Console.WriteLine($"{contestant.FirstName} {contestant.LastName} {contestant.EmailAddress} {contestant.RegistrationNumber}");
 }