One of the interesting things about C # 5.0 is the async/await keywords and how it simplifies the plumbing that you used to record using the parallel task library (TPL).
My question is if you have the thread-agnostic attribute and you start the async operation in the main thread (read: user interface thread), but you donβt have to if the continuation happens in the main thread, then you can tell the async/await paradigm async/await , what do you want it to continue in the first available thread, even if it is not the main thread?
I would think that being able to do this would greatly increase the effectiveness of certain scenarios, but not a silver bullet.
source share