title: C# async wat in .NET 4.0
body: <p>I was using C# with .NET 4.5 until I need to make an app for windows XP, which is not supported by .NET 4.5</p>
  
  <p>My question is how to make this function:</p>
  
  <pre><code>        private async Task&lt;int&gt; wait(int czas)
      {
          return await Task.Run(() =&gt;
          {
              Thread.Sleep(czas * 1000);
              return 0;
          });
      }
  </code></pre>
  
  <p>In .NET 4.0</p>