Ejemplo n.º 1
0
        public static void AskAgain()
        {
            RepeatCounter.ClearAll();
            string goodbye = @"
      ╔═╗╔═╗╔═╗╔╦╗╔╗ ╦ ╦╔═╗
      ║ ╦║ ║║ ║ ║║╠╩╗╚╦╝║╣ 
      ╚═╝╚═╝╚═╝═╩╝╚═╝ ╩ ╚═╝";
            string wave    = @"\( ・_・)";

            Console.WriteLine("\n Would you like to return to the main menu? \n [YES] or [NO]");
            string userResponse = Console.ReadLine();

            if (userResponse.ToLower() == "yes" || userResponse.ToLower() == "y")
            {
                Main();
            }
            else if (userResponse.ToLower() == "no" || userResponse.ToLower() == "n")
            {
                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.Magenta;
                Console.Clear();
                Console.WriteLine($"\n {goodbye}");
                Console.WriteLine("\n" + "".PadLeft(20) + $"{wave} \n");
            }
        }