public static Pizza CreatePizza(string type)
        {
            Pizza pizza = null;

            switch (type)
            {
            case "Over The Moon Pizza":
                pizza = new Cheese();
                break;

            case "Galactic Pepperoni":
                pizza = new Pepperoni();
                break;

            case "Zorg":
                pizza = new Supreme();
                break;

            default:
                break;
            }

            return(pizza);
        }
        public Pizza CreatePizza(string type)
        {
            Pizza pizza = null;

            switch (type)
            {
            case "Cheese":
                pizza = new Cheese();
                break;

            case "Pepperoni":
                pizza = new Pepperoni();
                break;

            case "Supreme":
                pizza = new Supreme();
                break;

            default:
                break;
            }

            return(pizza);
        }