title: How to play SystemSound in c# and wait for it to complete?
body: <p>You can play a system sound as follows:</p>
  
  <pre><code>SystemSounds.Asterisk.Play();
  </code></pre>
  
  <p>But it plays asynchronously. This is usually ok, but I want to wait for it to complete, and then run some other code afterwards. How to do this?</p>