play beep sound C# code example
Example 1: c# play sound
System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"c:\mywavfile.wav");
player.Play();
Example 2: how to make a beep in c#
Console.Beep();
System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"c:\mywavfile.wav");
player.Play();
Console.Beep();