Exemple #1
0
        public static void StartMenu()
        {
            Console.WriteLine("            Menu Options:");
            Console.WriteLine("   'B' for Bread |  'P' for Pastries");
            string menuType = (Console.ReadLine().ToUpper());

            if (menuType == "B")
            {
                Bread.BMenu();
            }
            else if (menuType == "P")
            {
                Pastry.PMenu();
            }
            else
            {
                Main();
            }
        }