using System; using System.Media; class MainClass { public static void Main() { // Play a beep with frequency as 200 and duration as 300 Console.Beep(200, 300); } }