예제 #1
0
        static void Main(string[] args)
        {
            PizzaTopping topping = new PizzaTopping();

            topping.Print();

            PizzaBase pizzaBase = new PizzaBase();

            pizzaBase.Name = BaseNames.Italian;

            Pizza pizza = new Pizza(pizzaBase, "Pizza mea");

            pizza.AddTopping(topping);
            pizza.AddTopping(topping);

            pizzaBase.Print();


            System.Console.ReadLine();
        }