Quantcast
Viewing latest article 12
Browse Latest Browse All 19

async / await / task

Hello Karen,

Thank you very much, it works well.
Why you used. 

await Task.Run(() => operations.Example1Async(personArgs1, progress));

Here you use.

Task<Person> taskOne = await Task.Factory.StartNew(async () =>
{
   var person = new Person() { Id = -1 };

Can you say something about the concept, background.

Thanks in advance.

With best regards Markus


Viewing latest article 12
Browse Latest Browse All 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>