public static string TotalList()
        {
            var mainProductlist = AllGroceryProductList.GroceryProduce();
            var one             = mainProductlist[0, 0];
            var two             = mainProductlist[0, 1];
            var three           = mainProductlist[1, 0];
            var four            = mainProductlist[1, 1];
            var five            = mainProductlist[2, 0];
            var six             = mainProductlist[2, 1];

            return(one + two + three + four + five + six);
        }
        public static void Main()
        {
            Console.WriteLine("Welcome to Andres Grocery Experience. Would you like to shop here ?");

            bool proceed = true;

            while (proceed)
            {
                Console.WriteLine("Welcome to Andres Grocery Experience. Please select a number from the menu? If");
                string choice   = MainMenuView.MainMenu();
                bool   go       = true;
                Kart   kart     = new Kart();
                bool   exitFlag = false;
                while (go)
                {
                    if (choice == "1")
                    {
                        Console.WriteLine();
                        Console.WriteLine("Pick item to place in kart");
                        foreach (var item in AllGroceryProductList.GroceryProduce())
                        {
                            Console.WriteLine(item);
                        }
                        Console.WriteLine("Enter Item");
                        var inputItem = Console.ReadLine();
                        Console.WriteLine("Enter Pounds");
                        int inputPound = int.Parse(Console.ReadLine());
                        Console.WriteLine("Enter Price");
                        double inputCost = double.Parse(Console.ReadLine());
                        kart.PutItemInKart(inputItem, inputPound, inputCost);
                        Console.WriteLine("your item in the kart");
                        foreach (var item in kart.GetKart())
                        {
                            Console.WriteLine(item.Item);
                        }
                        break;
                    }
                    else if (choice == "2")
                    {
                        Console.WriteLine();
                        Console.WriteLine("Pick item to place in kart");
                        foreach (var item in AllGroceryProductList.GroceryMeat())
                        {
                            Console.WriteLine(item);
                        }
                        Console.WriteLine("Enter Item");
                        var inputItem = Console.ReadLine();
                        Console.WriteLine("Enter Pounds");
                        int inputPound = int.Parse(Console.ReadLine());
                        Console.WriteLine("Enter Price");
                        double inputCost = double.Parse(Console.ReadLine());
                        kart.PutItemInKart(inputItem, inputPound, inputCost);
                        Console.WriteLine("your item in the kart");
                        foreach (var item in kart.GetKart())
                        {
                            Console.WriteLine(item.Item);
                        }
                        break;
                    }
                    else if (choice == "3")
                    {
                        Console.WriteLine();
                        Console.WriteLine("Pick item to place in kart");
                        foreach (var item in AllGroceryProductList.GroceryDrink())
                        {
                            Console.WriteLine(item);
                        }
                        Console.WriteLine("Enter Item");
                        var inputItem = Console.ReadLine();
                        Console.WriteLine("Enter Pounds");
                        int inputPound = int.Parse(Console.ReadLine());
                        Console.WriteLine("Enter Price");
                        double inputCost = double.Parse(Console.ReadLine());
                        kart.PutItemInKart(inputItem, inputPound, inputCost);
                        Console.WriteLine("your item in the kart");
                        foreach (var item in kart.GetKart())
                        {
                            Console.WriteLine(item.Item);
                        }
                        break;
                    }
                    else if (choice == "n")
                    {
                        exitFlag = true;
                        break;
                    }
                }
                if (exitFlag)
                {
                    break;
                }
            }//ends progrom
            Console.WriteLine("Thanks for shopping with Andre's ! Enjoy your products");
        }
 public void GetAllGroceryProduce()
 {
     string[,] expected = { { "Lettuce", "1.29" }, { "Tomato", "1.00" }, { "Potaatos", ".35" } };
     string[,] actual   = AllGroceryProductList.GroceryProduce();
     Assert.Equal(expected, actual);
 }