How can I execute a non-blocking System.Beep() in C#?

Posted by Siracuse on Stack Overflow See other posts from Stack Overflow or by Siracuse
Published on 2010-05-01T21:59:23Z Indexed on 2010/05/01 22:07 UTC
Read the original article Hit count: 209

Filed under:

In C# I can perform a Console.Beep(). However, if you specify a duration of say 1000, or 1 second, it will not execute the next line of code until that second passes.

Is there any way possible to execute Console.Beep() in a non-blocking fashion so it will continue to beep and still continue executing the code below it while beeping?

© Stack Overflow or respective owner

Related posts about c#