system.media.soundplayer code example
Example: c# play wav file
var soundPlayer = new System.Media.SoundPlayer();
soundPlayer.SoundLocation = @"C:\ProjectFolder\song.wav";
soundPlayer.PlayLooping();
var soundPlayer = new System.Media.SoundPlayer();
soundPlayer.SoundLocation = @"C:\ProjectFolder\song.wav";
soundPlayer.PlayLooping();