System.Console.Beep Method

Plays the sound of a beep through the console speaker.

Syntax

public static void Beep ()

Remarks

By default, the beep plays at a frequency of 800 hertz for a duration of 200 milliseconds.

Note:

   The erload:System.Console.Beep method is not supported on the 64-bit editions of Windows Vista and Windows XP.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0