예제 #1
0
 public static void DisplayWinner(Contestant contestant)
 {
     Console.Clear();
     Console.WriteLine(contestant.firstName + " " + contestant.lastName + " at email address " + contestant.emailAddress + " is the winner!");
     Console.ReadKey();
 }
예제 #2
0
 public static void GetUserEmailAddress(Contestant contestant)
 {
     Console.Clear();
     Console.WriteLine("Please enter your email address.");
     contestant.emailAddress = Console.ReadLine().ToString();
 }
예제 #3
0
 public static void GetUserFirstName(Contestant contestant)
 {
     Console.WriteLine("Please enter your first name.");
     contestant.firstName = Console.ReadLine().ToString();
 }
예제 #4
0
 public static void GetUserLastName(Contestant contestant)
 {
     Console.Clear();
     Console.WriteLine("Please enter your last name.");
     contestant.lastName = Console.ReadLine().ToString();
 }
예제 #5
0
 public void PrintContestantInfo(Contestant contestant)
 {
 }