1、添加名称空间
using System.Speech.Synthesis;
2、开始说话
SpeechSynthesizer speak = new SpeechSynthesizer();
speak.SpeakAsync("Hello");
转载于:https://www.cnblogs.com/qiujiahong/archive/2012/03/05/2380019.html
1、添加名称空间
using System.Speech.Synthesis;
2、开始说话
SpeechSynthesizer speak = new SpeechSynthesizer();
speak.SpeakAsync("Hello");
转载于:https://www.cnblogs.com/qiujiahong/archive/2012/03/05/2380019.html