title: How call the main method or restart the app console?
body: <p>When an exception occurs I want to restart all the processing or start the Main method, after this other method: </p>
  
  <pre><code>public void DisplayMessage(string message) { 
      Console.WriteLine(message, "Rebuild Log Files"); 
      Console.WriteLine(" Press Enter to finish, or R to restar the program..."); 
      string restart = Console.ReadLine(); 
      if(restart.ToUpper() == "R") { 
          //Call the Main method or restart the app 
      } 
      Console.ReadKey(); 
  }
  </code></pre>
  
  <p>Note: the main method contains some user written data.</p>
  
  <p>How can I do this?</p>