摘要: WaitAll vs WhenAll 回答1 Task.WaitAll blocks the current thread until everything has completed. Task.WhenAll returns a task which represents the action 阅读全文
posted @ 2020-05-12 16:51 ChuckLu 阅读(302) 评论(0) 推荐(0)
摘要: When does a C# Task actually start? Calling an async method returns a hot task, a task that has already been started. So there is no actual code neces 阅读全文
posted @ 2020-05-12 16:08 ChuckLu 阅读(162) 评论(0) 推荐(0)
摘要: What are 'closures' in .NET? I have an article on this very topic. (It has lots of examples.) In essence, a closure is a block of code which can be ex 阅读全文
posted @ 2020-05-12 14:46 ChuckLu 阅读(135) 评论(0) 推荐(0)