private bool isVowel(char letter) { for (int i = 0; i < vowels.Length; i++) { if (letter == vowels[i]) return true; } return false; }