title: Windows Forms Application which doesn't start with form
body: <p>By default when you make a Windows c# application it starts with opening some form</p>
  
  <pre><code>static void Main()
  {
      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);
      Application.Run(new Form1());
  }
  </code></pre>
  
  <p>Is it possible to do some stuff in Main function before creating any form - create some objects, execute some methods of this objects and depending on the result create some form at last or in other case don't create any form at all - close application?</p>