title: C# Error CS0103: The name 'i' does not exist in the current context
body: <p>Can someone give me some insight on my code.  My C# program is suppose to transmit a message from a client to a server but extract and print only the vowels.  But it states that my 'i' doesn't exist please help.</p>
  
  <pre><code>// 5. Display the received message:
              Console.WriteLine("[Server] Message of client recieved");
              for (int i = 0; i &lt; totalBytes; i++)
              {
                  aChar = Convert.ToChar(incomingDataBuffer[i]);
                  Console.Write(aChar);
              }
  
              {
                 aChar = Convert.ToChar(incomingDataBuffer[i]);
                 if(aChar == 'a' || aChar == 'A' || aChar == 'e' || aChar == 'E' || aChar == 'i' || aChar == 'I' || aChar == 'o' || aChar == 'O' || aChar == 'u' || aChar == 'U')
                 {  
                     Console.Write(aChar);
                 }
  </code></pre>
  
  <p>}</p>