title: C# Winform: Long running operation with async await
body: <p>my code is compiled properly but getting warning called </p>
  
  <blockquote>
    <p>This async method lacks 'await' operators and will run synchronously.
    Consider using the 'await' operator to await non-blocking API calls,
    or 'await Task.Run(...)' to do CPU-bound work on a background thread.</p>
  </blockquote>
  
  <pre><code>    private async void Form1_Load(object sender, EventArgs e)
      {
         //await longRunningRoutine();
  
         await Task.Run(async () =&gt;
         {
             await longRunningRoutine(); ;
         });
         label1.Text = "hello test";
  
      }
  
      public async Task longRunningRoutine()
      {
          await Task.Delay(10000);
      }
  </code></pre>
  
  <p>so tell me what is lack in my code for which i am getting warning? 
  how to fix this problem. thanks</p>