static void Main(string[] args) { Sliders slider = new Sliders(); // This is me making changes Console.WriteLine(FoodCreator.describeOrder(slider)); }
public static Food buildOrder(string input) { if (input == "slurpee") { Slurpee slurpee = new Slurpee(); return(slurpee); } else { Sliders sliders = new Sliders(); return(sliders); } }