//Might not use and just directly edit pizza using reference in the console app public void changePizza(int pizzaIndex, Pizza pizza) { if (pizzaIndex < 0 || pizzaIndex > Pizzas.Count - 1) { throw new Exception("Pizza out of bounds! Tried to edit a pizza not in the range of pizzas."); } else { removePizza(pizzaIndex); Pizzas.Insert(pizzaIndex, pizza); } }