I need a program that passes a string to a method that returns the number of vowels in the string.
Note: For testing purposes, Y will not be counted as a vowel.
using System;
using static System.Console;
class CountVowelsModularized
{
public static void Main()
{
// Write main here.
}
public static int CountVowels(string phrase)
{
// Write CounVowels method here.
}
}