re: Daily Challenge #3 - Vowel Counter VIEW POST

FULL DISCUSSION
 
private static List<char> vowels = new List<char>('e','a','i','o','u','E','A','I','O','U');

public static int VowelCount(this string str) => 
    str.Count(c => vowels.Contains(c));
code of conduct - report abuse