title: Cannot implicitly convert type 'int' to '...Tasks<int>'
body: <p>if this is async, it'll return with no error, why is it throwing an error without being async, async is worthless in this operation.</p>
  
  <pre><code>public Task&lt;int&gt; countUp()
  {
      string compare = txtTag.Text;
      int count = 0;
      for (int i = 0; i &lt; dataGridView1.Rows.Count; i++)
      {
          if (compare == dataGridView1[0, i].Value.ToString())
          {
              BeginInvoke(new Action(() =&gt;
              {
                  count++;
                  txtCount.Text = count.ToString();
              }));
          }
      }
  
      return count;
  }
  </code></pre>