Video / Don't use Task.WhenAll, it may not be efficient enough
Don't use Task.WhenAll, it may not be efficient enough
In C#, Task.WhenAll is commonly used to run multiple tasks in parallel, but is it always the best option? In this video, I'll explore scenarios where Task.WhenAll may not be the most efficient choice. I'll also demonstrate how to create a custom method for executing tasks in parallel, avoiding the pitfalls of Task.WhenAll.