예제 #1
0
        public void DetermineAction()
        {
            while (true)
            {
                switch (UserInterface.DetermineSweepstakeAction())
                {
                case "1":
                    AddContestant();
                    break;

                case "2":
                    DisplayContestants();
                    break;

                case "3":
                    PickWinner();
                    break;

                case "4":
                    return;

                default:
                    return;
                }
            }
        }