title: Winforms: Application.Exit vs Environment.Exit vs Form.Close
body: <p>Following are the ways by which we can exit an application:</p>
  
  <ol>
  <li><code>Environment.Exit(0)</code></li>
  <li><code>Application.Exit()</code></li>
  <li><code>Form.Close()</code></li>
  </ol>
  
  <p>What is the difference between these three methods and when to use each one?</p>