How to make the computer beep in C#?
To make the computer beep in C# you can use the functionBeep()
part of Console
.Note: you can run regular beep and irregular beep, below example shows the difference.Example
using System;
public class Program
{
public static void Main()
{ // regular one
Console.Beep();
//inregular one
Console.Beep(800,500);
}
}