// Load a grammar Choices commands = new Choices("open", "close", "save"); GrammarBuilder builder = new GrammarBuilder(commands); Grammar grammar = new Grammar(builder); recognizer.LoadGrammar(grammar);
synthesizer.SpeakAsync($"You said e.Result.Text"); ;
// Recognize and speak recognizer.SpeechRecognized += (s, e) =>