Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
// the simple version:
|
||||
System.Console.Write("\a"); // will beep
|
||||
System.Threading.Thread.Sleep(1000); // will wait for 1 second
|
||||
System.Console.Beep(); // will beep a second time
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
// System.Console.Beep() also accepts (int)hertz and (int)duration in milliseconds:
|
||||
System.Console.Beep(440, 2000); // default "concert pitch" for 2 seconds
|
||||
Loading…
Add table
Add a link
Reference in a new issue