title: C# find vowels from char, display
body: <p>I have the following code:</p>
  
  <pre><code>Console.Writeline("[Server] Message of client received");
  for (int i = 0; i &lt; totalBytes; i++)
  {
      aChar = Convert.ToChar(incomingDataBuffer[i]);
      Console.Write(aChar);
  }
  </code></pre>
  
  <p>where <code>int totalBytes = aSocket.Receive(incomingDataBuffer);</code></p>
  
  <p>In addition to printing the message like above, I need to iterate through the message and print it again, but remove consonants. So "Hello there" would return "eoee". </p>
  
  <p>If someone could give a working example that would be great. I don't know C# but I'm learning Java now.</p>