public override IPizza createPizza(string type)
        {
            IPizza pizza = null;

            if (type.Equals("pepperoni"))
            {
                pizza = new PepperoniPizza();
            }
            else if (type.Equals("greek"))
            {
                pizza = new GreekPizza();
            }
            return(pizza);
        }
        public override IPizza createPizza(string type)
        {
            IPizza pizza = null;

            if (type.Equals("cheese"))
            {
                pizza = new CheesePizza();
            }
            else if (type.Equals("greek"))
            {
                pizza = new GreekPizza();
            }
            return(pizza);
        }