title: Simple way to pause execution for a few seconds, that does not involve Thread.Sleep
body: <p>What's the best way in asp.net c# to achieve the following, that <strong>does not</strong> involve <code>Thread.Sleep()</code> ?</p>
  
  <pre><code>while (runCriteria)
  {
   ...
      run some code to display something
   ...
   wait for x seconds
  }
  </code></pre>
  
  <p>I've searched online and everything appears to use incredibly complex (at least to me) async timer events etc., which seems like overkill.</p>