C#窗体程序如何实现朗读文字

发布时间:2019-09-16 13:30:49

C#窗体程序如何实现朗读文字

推荐回答

using System.Speech.Synthesis;namespace ConsoleApp12{    class Program    {        static void Main(string[] args)        {            SpeechSynthesizer s = new SpeechSynthesizer();            s.SpeakAsync("Hello");            Console.Read();        }    }}
以上问题属网友观点,不代表本站立场,仅供参考!