示例#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}");
 }