title: C# async method call
body: <p>I would have a async call to a function as following:</p>
  
  <p>I'll call a method from the main method, this function should be async, how I do this?</p>
  
  <p>A little example:</p>
  
  <pre><code>private static void Main(string[] args)
  {
      StartDoingNothingAsync();
      Console.WriteLine("test");
      Console.Read();
  }
  
  private static async void StartDoingNothingAsync()
  {
      for (var i = 0; i &lt; 5000; i++)
      {
          //do something
      }
      Console.WriteLine("leaved");
  }
  </code></pre>
  
  <p>I would first the output "test", before "leaved", how can I practice this?</p>