title: count vowels, consonants and numeric
body: <p>What's wrong with my code? If I enter <code>aaa</code>, it returns <code>3</code> in the vowels row, but if I enter <code>abc</code>, it return <code>3</code> also in the vowels row.</p>
  
  <p>By the way, it's a windows form .</p>
  
  <pre><code>txtInputString.SelectionStart = 0;
  txtInputString.SelectionLength = txtInputString.Text.Length;
  txtInputString.Focus();
  
  int vowelCount = 0, consonants = 0, nonNumeric = 0; 
  int count = txtInputString.TextLength;
  
  for (int i = 0; i &lt; count; i++)
  {
      if ((txtInputString.Text.Contains('a') == true) || (txtInputString.Text.Contains('e') == true) || (txtInputString.Text.Contains('i')== true) || (txtInputString.Text.Contains('o')==true) || (txtInputString.Text.Contains('u')==true))
      {
          vowelCount++;
      }
      else if ((txtInputString.Text.Contains('b') == true) || txtInputString.Text.Contains('c') || txtInputString.Text.Contains("d") || txtInputString.Text.Contains("f") || txtInputString.Text.Contains("g"))
      {
          consonants++;
      }
      else
      {
          nonNumeric++;
      }
  }
  txtVowel.Text = vowelCount.ToString() + "";
  txtConsonant.Text = consonants.ToString() + "";
  
  txtNonNumeric.Text = nonNumeric.ToString();
  </code></pre>