public List <PizzaCrust> getAllPizzaCrusts()
        {
            Classic classic = new Classic();
            Thin    thin    = new Thin();
            Cheesy  cheesy  = new Cheesy();

            List <PizzaCrust> pizzaCrusts = new List <PizzaCrust>();

            pizzaCrusts.Add(classic);
            pizzaCrusts.Add(thin);
            pizzaCrusts.Add(cheesy);

            return(pizzaCrusts);
        }
        public PizzaCrust setPizzaCrust(string pizzaCrust)
        {
            PizzaCrust crust = null;

            if (pizzaCrust.ToLower().Equals("thin"))
            {
                crust = new Thin();
            }
            else if (pizzaCrust.ToLower().Equals("classic"))
            {
                crust = new Classic();
            }
            else if (pizzaCrust.ToLower().Equals("cheesy"))
            {
                crust = new Cheesy();
            }

            return(crust);
        }