public override CheesePizza MakeCheesePizza() { var ingridients = new List<string> { "rotten tomatoes", "grey cheese", "green cheese" }; var pizza = new CheesePizza(ingridients, this.Name); return pizza; }
public override CheesePizza MakeCheesePizza() { var ingridients = new List<string>(); ingridients.Add("tomatoes"); ingridients.Add("white cheese"); ingridients.Add("yellow cheese"); ingridients.Add("blue cheese"); ingridients.Add("extra smelly cheese"); var pizza = new CheesePizza(ingridients, this.TheName); return pizza; }
public override CheesePizza MakeCheesePizza() { var ingridients = new List<string> { "tomatoes", "white cheese", "yellow cheese", "blue cheese", "extra smelly cheese" }; var pizza = new CheesePizza(ingridients, this.Name); return pizza; }