I am a novice in programming. I would like to change the gender and age of the voice of System. Speech in VB.NET. Like this question
How I can change the voice synthesizer gender and age in C#
So, I am confused how to declare this code to VB.NET
foreach (var v in synthesizer.GetInstalledVoices().Select(v => v.VoiceInfo))
{
Console.WriteLine("Name:{0}, Gender:{1}, Age:{2}",
v.Description, v.Gender, v.Age);
}Thanks for advance