title: c# declaring a new variable every time a loop is run to count characters of a string
body: <p>I want to create a new variable everytime a loop is run, for example:</p>
  
  <pre><code>for (char c = 'a'; c &lt;=  'z'; c++;) 
      {
          countA++;
          // I want to create a new variable(countB, countC, etc.) every time
          // the loop is run
          //if you couldn't tell already, this loop counts letters in a string
      }
  </code></pre>