private static bool List(string[] fields) { if (fields[0] != "list") { return(false); } Console.WriteLine("Ingredients are: "); Console.Write(shoppingList.ToString()); return(true); }
private static bool List(string[] fields) { if (fields[0] != "list") { return(false); } Console.WriteLine("Ingredients are: "); Console.Write(shoppingList.ToString()); return(true); }