Пример #1
0
 public void PrintContestantInfo(Contestant contestant)
 {
     UI.Print($"\r\nName: {contestant.lastName}, {contestant.firstName} \r\nEmail: {contestant.email} \r\nRegistration Number: {contestant.registrationNumber}");
 }
Пример #2
0
        public void CreateSweepstakes()
        {
            Sweepstakes newSweepstake = new Sweepstakes(UI.GetUserStringInput("name your sweepstakes"));

            sweepstakeOrder.InsertSweepstakes(newSweepstake);
        }
Пример #3
0
 public Contestant()
 {
     this.firstName = UI.GetUserInput("Please enter your first name: ");
     this.lastName  = UI.GetUserInput("Please enter your last name: ");
     this.eMail     = UI.GetUserInput("Please enter your email: ");
 }
Пример #4
0
 public Contestant()
 {
     firstName = UI.GetUserInformation("Please Enter Your First Name: ");
     lastName = UI.GetUserInformation("Please Enter Your Last Name: ");
     email = UI.GetUserInformation("Please Enter Your Email Address: ");
 }