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