Exemplo n.º 1
0
        static void Main(string[] args)
        {
            SweepstakesFactoryDesign sweepstakesFactoryDesign = new SweepstakesFactoryDesign();
            string answer = UserInterface.AskQueueOrStack();
            ISweepstakesManager sweepstakesManager = sweepstakesFactoryDesign.DetermineManager(answer);
            MarketingFirm       marketingFirm      = new MarketingFirm(sweepstakesManager);

            marketingFirm.StartSweepstakes();
            marketingFirm.EndSweepstakes();

            Console.ReadLine();
        }