I want to make a beep sound using PC speaker in C#. When using the following code:
[DllImport(\"kernel32.dll\", EntryPoint = \"Beep\", SetLastError = true, E
You can use SystemSounds.Beep for example: SystemSounds.Beep.Play();
SystemSounds.Beep
SystemSounds.Beep.Play();
See also: SystemSounds.Beep Property