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));
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.