Esempio n. 1
0
 public void PrintConstestantInfo(Contestant contestant)
 {
     Console.WriteLine("Contestants First name, Last name  " + contestant.firstname);
     Console.WriteLine("Contestants Last name, Last name  " + contestant.lastname);
     Console.WriteLine("Contestants emailaddress " + contestant.emailaddress);
 }
Esempio n. 2
0
 public void RegisterContestent(Contestant contestant)
 {
     contestant.RegistrationNumber = contestants.Count;
     contestants.Add(contestant.RegistrationNumber, contestant);
 }