我有这个错误
“无法将方法组分配给隐式类型的局部变量”
在这段代码中
private async void Button_Click_2(object sender, RoutedEventArgs e)
{
var frenchvoice = InstalledVoices.All.Where(voice => voice.Language.Equals("fr-FR") & voice.Gender == VoiceGender.Female).FirstOrDefault; // in this line
sp.SetVoice(frenchvoice);
await sp.SpeakTextAsync(mytxt);
}