//引入语音合成名称空间 (然而精简过的windows镜像 比如某ghost安装的 可能会缺失这个库哦
using System.Speech.Synthesis;
class A
{
void test1()
{
//实例化 并指定字符串 播放合成读音
SpeechSynthesizer sp = new SpeechSynthesizer();
sp.Speak("中国");
}
}
这样可以简单的让windows阅读指定文字、在一些需要语音提示的情况下
可以快速满足 还行吧