Await async TaskEx
<p>What is <code>TaskEx</code>? In <a href="http://www.i-programmer.info/programming/c/1514-async-await-and-the-ui-problem.html?start=1" rel="noreferrer">http://www.i-programmer.info/programming/c/1514-async-await-and-the-ui-problem.html?start=1</a> or <a href="https://stackoverflow.com/questions/5750600/await-taskex-delay">await TaskEx.Delay</a> or <a href="https://stackoverflow.com/questions/21711548/await-async-clarification">Await async clarification</a>. I use</p>

<pre><code>Task DoWork()
{
    return Task.Run(() =&gt;
    {
        for (int i = 0; i &lt; 30; i++)
        {
            Thread.Sleep(1000 * 60 * 30);
        }
    });
}
</code></pre>

<p>Examples use this</p>

<pre><code>Task DoWork()
{
   return TaskEx.Run(() =&gt;
   {
     for (int i = 0; i &lt; 10; i++)
     {
         Thread.Sleep(500);
     }
   }
 });
</code></pre>

<p>I call it like <code>await DoWork();</code>
If you use just <code>Task</code>, <code>await</code> returns nothing and there is no response. If I use <code>TaskEx</code> it says it doesn't exist in context.
Should <code>TaskEx</code> be a class or something with some sort of function?
Fists one Works it's my mistake.</p>