public void RegisterContestant() { Contestant contestant = new Contestant(); contestant.RegistrationNumber = RegistrationNumber; userInterface.GetContestantInformation(contestant, RegistrationNumber); ContestantDictionary.Add(RegistrationNumber, contestant); RegistrationNumber++; }
//Constructor public Contestant() { UserInterface.GetContestantInformation(); }