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); }
public void RegisterContestent(Contestant contestant) { contestant.RegistrationNumber = contestants.Count; contestants.Add(contestant.RegistrationNumber, contestant); }