static void Main(string[] args) { UserInterface.InitialDisplay(); string stackOrQueue = UserInterface.GetManagerChoice(); MarketingFirm newFirm = new MarketingFirm(stackOrQueue); newFirm.stillWorking = true; while (newFirm.stillWorking == true) { newFirm.FirmMenu(); } }
static void Main(string[] args) { ObjectFactory obj = new ObjectFactory(); ISweepstakesManager manager = obj.SetManagment(); MarketingFirm marketing = new MarketingFirm(manager); marketing.FirmMenu(); Sweepstakes sweep = new Sweepstakes(); sweep.SweepstakesMenu(); Console.ReadLine(); }