---
title: "Comment by Sami Mejri on \"Understanding Task.WhenAll in C#\" | Hashnode"
description: "Great read, thanks. However, some developers do not now the difference between WhenAll and WaitAll, it would fantastic if you added the comparison to your artic"
url: "https://hashnode.com/posts/understanding-taskwhenall-in-csharp/63b295ebe79e6d3ac739b87d/comment/63b96ec8624134a0c9b427fe"
---

[Discussion](https://hashnode.com/posts/understanding-taskwhenall-in-csharp/63b295ebe79e6d3ac739b87d)

Comment [Understanding Task.WhenAll in C#](https://hashnode.com/posts/understanding-taskwhenall-in-csharp/63b295ebe79e6d3ac739b87d)

[Sami Mejri](https://hashnode.com/@SamiMejri)

[Jan 7, 2023](https://hashnode.com/posts/understanding-taskwhenall-in-csharp/63b295ebe79e6d3ac739b87d/comment/63b96ec8624134a0c9b427fe)

Great read, thanks. However, some developers do not now the difference between WhenAll and WaitAll, it would fantastic if you added the comparison to your article.

[Theodoros Karropoulos](https://hashnode.com/@thkarropoulos)

[Jan 7, 2023](https://hashnode.com/posts/understanding-taskwhenall-in-csharp/63b295ebe79e6d3ac739b87d/comment/63b96ec8624134a0c9b427fe#reply-63b980a095025da0eecd9b4a)

Thanks [Sami Mejri](https://hashnode.com/@SamiMejri) for your response and I am glad you find it helpful. As a short response the main difference between Task.WaitAll and Task.WhenAll is that WaitAll blocks the current thread until all other tasks have completed, while WhenAll creates a task that completes when all the other tasks have completed without blocking the thread.
