private static void SpeakText(string textToSpeak) { try { TextToSpeech.SpeakString(textToSpeak); } catch (InvalidOperationException) { ErrorParsingText(); } }