예제 #1
0
 void PrintContestantInfo(Contestant contestant)
 {
     Console.WriteLine(contestant._name + "Phone Number: " + contestant._phoneNumber);
 }
예제 #2
0
 public void RegisterContestant(Contestant contestant)
 {
     Contestants.Add(contestant._name, contestant._phoneNumber);
 }