title: Is there the simple way to wait (some time) without application freeze?
body: <p>For now I've got </p>
  
  <pre><code>    if blocker then 
          Thread.Sleep(5000)
          do something
  </code></pre>
  
  <p>It's running in the while circle so my whole application is just being freeze. It's also matters for me to do something in Main application thread so that's why I don't create new.</p>
  
  <p>I think that I need to create temporary Timer, add on elapsed event, handle it and then do something but I just want to know if there is some simple solution for it and I don't need to "re-invent a bicycle"?</p>