title: Application.Exit
body: <p>I am using VSTS 2008 + .Net 3.5 + C# to develop Windows Forms application. My confusion is, seems Application.Exit does not force application to terminate? If not, which method should I call to make application terminate?</p>
  
  <p>EDIT 1:</p>
  
  <p>Normally the main method is like this, how to exit Main function gracefully without calling Environment.Exit?</p>
  
  <pre><code>    static void Main()
      {
          Application.EnableVisualStyles();
          Application.SetCompatibleTextRenderingDefault(false);
          try
          {
              Application.Run(new Form1());
          }
          catch (Exception ex)
          {
              Console.WriteLine (ex.Message);
          }
      }
  </code></pre>
  
  <p>thanks in advance,
  George</p>