public static void Main() { while (true) { CreateItem.CreateNewItem(); if (Variables.inputItem.ToLower() == "end") { break; } } Display.DisplayItems(); }
public static void Main() { while (true) { CreateItem.CreateNewItem(); if (Variables.inputItem.ToLower() == "end") { break; } } Display.DisplayItems(); // To test calculate Console.WriteLine(Calculate.AddAllItems()); }
public static void Main() { CreateItem.CreateNewItem(); Display.DisplayItems(); Display.DisplayItemsTotal() }