static void Main(string[] args) { ISweepstakesManager manager; manager = ChooseManager.PickManager(); MarketingFirm marketfirm = new MarketingFirm(manager); marketfirm.StartSweepstakes("yes"); Console.ReadLine(); }
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(); }