Look at the definition of the
SpeechSynthesizer.SpeakAsync Method (String) (System.Speech.Synthesis)[
^] and it returns a Prompt class instance - "the object that contains the content to speak". That does not convert to a bool, and does not in any way get an input from the user to confirm what he wants to do. So when you try to assign the returned object to your
bool
variable, the systems throws up it's hands and tells you "I can't do that, I don't known how to treat a Prompt as a Boolean value"
I think you need to go back a stage or two, and work out how your user is supposed to interact with your application - because you need to get a response there rather than assuming that the act of asking a question miraculously also fetches the answer...