title: Understanding Task based asynchronous pattern C#
body: <p>I am starting to study C# TAP coding. I don't understand why the code is running synchronously</p>
  
  <pre><code>    async private void timer1_Tick(object sender, EventArgs e)
      {
          SyncCount++;
          result1.Text = SyncCount.ToString();
  
          AsyncCount = await CountForALongTimeAsync(AsyncCount);
          result2.Text = AsyncCount.ToString();
      }
  
      async Task&lt;int&gt; CountForALongTimeAsync(int counter)
      {
          Thread.Sleep(3000);
          counter++;
          return counter;
      }
  </code></pre>