The C# version will copy the list into an array during Task.WhenAll, it may save some memory to use an array directly.
Souce: https://github.com/microsoft/referencesource/blob/master/msc...
Souce: https://github.com/microsoft/referencesource/blob/master/msc...
https://github.com/dotnet/runtime/blob/1f01bee2a41e0df97089f...
Please note that the link above leads to old code from .NET Framework.
The up-to-date .NET implementation lives here: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...