Пример #1
0
        static void Main(string[] args)
        {
            PizzaBuilder pizzaBuilder = new CheesePizzaBuilder();
              PizzaShop shop = new PizzaShop(pizzaBuilder);

              shop.OrderPizza();

              Console.ReadKey();
        }
Пример #2
0
        static void Main(string[] args)
        {
            PizzaBuilder pizzaBuilder = new CheesePizzaBuilder();
            PizzaShop    shop         = new PizzaShop(pizzaBuilder);


            shop.OrderPizza();

            Console.ReadKey();
        }