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