示例#1
0
    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());
    }
示例#3
0
 public static void Main()
 {
     CreateItem.CreateNewItem();
     Display.DisplayItems();
     Display.DisplayItemsTotal()
 }