-2

I read a stackoverflow answer here, and in that answer it says There is no Thread in his blog, but the article is complicated that I can't easily understand the core idea, can anyone judge whether There is no Thread is true, if true can help to explain the core idea simpler and easier?

yu yang Jian
  • 6,680
  • 7
  • 55
  • 80
  • 4
    Possible duplicate of [If async-await doesn't create any additional threads, then how does it make applications responsive?](https://stackoverflow.com/questions/37419572/if-async-await-doesnt-create-any-additional-threads-then-how-does-it-make-appl) – GSerg Jul 27 '19 at 12:18
  • 1
    I don't have time to write you a summary of the linked articles, but since you seem to lack an understanding of how `async` works, I would recommend you read [this](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/) to get a better understanding of `async` as a concept. – Tobias Tengler Jul 27 '19 at 12:19

1 Answers1

7

He's just saying that while a task is being awaited there is no thread actually waiting for it. That's all.

That's a good thing.

Gabriel Luci
  • 38,328
  • 4
  • 55
  • 84