static void Main(string[] args)
 {
     while (true)
     {
         ConsoleLayout.Header("Main");
         int selection = ConsoleLayout.SelectFromMenu(MainMenu);
         try
         {
             if (selection == 0)
             {
                 return;
             }
             else if (selection == 42)
             {
                 Test();
             }
             else
             {
                 MainMenu[selection - 1].Item2.Invoke();
             }
         } catch (InvalidCastException)
         {
             ConsoleLayout.Error();
             ConsoleLayout.Footer();
         }
     }
 }