private Task<Boolean> ThisIsMyBackgroundThread()
{
return TaskEx.Run(() => {
Console.WriteLine("This was run in the background");
return true;
});
}
[/CODE]
private Task<Boolean> ThisIsMyBackgroundThread()
{
return TaskEx.Run(() => {
Console.WriteLine("This was run in the background");
return true;
});
}
[/CODE]
Easy as that. So cool.
Yeah. I'm looking forward to it. Most of my day job is ASP.NET MVC, so I'm not sure I'll get much use out of it there. But whenever it makes its way to Windows Phone and whatever we'll have for Windows 8 apps, I'm sure I'll be taking advantage often.