【C#学习笔记】播放wav文件

using System;
using System.Media;

namespace ConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            SoundPlayer s = new SoundPlayer("test.wav");
            s.Play();

            Console.Read();
        }      
    }
}
原文地址:https://www.cnblogs.com/tiandsp/p/7440426.html