[ Ссылка ]
WaitAll
Waits for all the tasks to complete
Blocking operation
Tasks are passed as array
Can set Time out
Can send Cancellation token
WhenAll
Creates a task which waits for all the tasks to complete
Non blocking/blocking can be configured
Tasks are passed as array or IEnumerable of Task
Cannot set Time out
Cannot send Cancellation token
Ещё видео!