Do the new C# 5.0 'async' and 'await' keywords use multiple cores?
问题 Two new keywords added to the C# 5.0 language are async and await, both of which work hand in hand to run a C# method asynchronously without blocking the calling thread. My question is, do these methods actually take advantage of multiple cores and run in parallel or does the async method run in the same thread core as the caller? 回答1: Two new keywords added to the C# 5.0 language are async and await, both of which work hand in hand to run a C# method asynchronously without blocking the