title: Using Task.Factory.StartNew with Thread.Sleep to wait x seconds
body: <p>Can I do something like that in order to wait, for example 5 seconds, before continue with other method and without freeze my UI ?</p>
  
  <pre><code>System.Threading.Tasks.Task.Factory.StartNew(() =&gt;
  {
      System.Threading.Thread.Sleep(5000);
      // Code to do some method
  });
  </code></pre>