原创 .NET 語音轉文字 文字轉語音

文字轉語音 這個比較簡單隻要引用COM中的 Microsoft Speech objcet Library   using SpeechLib;      public ActionResult speak(string speechS

原创 C# 將文件中的數據最後一行刪除 (非文本文件)

        int lastLength = 0;         using (var sr = new StreamReader("d:/test.wav")){             string str = string.