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();
                pizza.Name  = "Galactic Pizza";
                pizza.Dough = "Gluten Free";
                pizza.Ingredients.Add("pepperoni");
                pizza.Ingredients.Add("pepperoni");
                pizza.Ingredients.Add("pepperoni");
                pizza.Ingredients.Add("Pineapple");

                break;

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

            default:
                break;
            }

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

            switch (pizzaType)
            {
            case "Cheese":
                pizza      = new Cheese();
                pizza.Name = "Cheese";
                break;

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


            default:
                break;
            }

            return(pizza);
        }