public static void Main()
string name = "developer@example.com";
char[] vowels = new char[]{'A', 'E', 'I', 'O', 'U', 'a', 'e', 'i', 'o', 'u'};
for (int i = 0; i < name.Length; i++)
for (int j = 0; j < vowels.Length; j++)
if (name[i] == vowels[j])
Console.WriteLine($"{vowelsCount} vowels found");
for (int i = 0; i < name.Length; i++)
if (Array.IndexOf(vowels, name[i]) >= 0)
Console.WriteLine($"{vowelsCount} vowels found");
vowelsCount = name.Count(ch => Array.IndexOf(vowels, ch) >= 0);
Console.WriteLine($"{vowelsCount} vowels found");