title: How to count number of iterations in a for loop C#
body: <p>I'm trying to count loop iterations and show it to the user using a LABEL. Tried many solutions but no luck. 
  Any suggestions regarding this? 
  Thanks in advance!
  Tried this as well.</p>
  
  <pre><code>for (int x = 0; x &lt; DataGridView.Rows.Count; x++)
          {                
              CountLabel.Text = x.ToString();
          }
  </code></pre>