I understand from here that the task execution order for Task.Whenall
is not deterministic but I cannot find any information about result order.
Will the results collection contain the results in the order in which the tasks where ordered in the input or the results can be in any order?
From the tests that I did, it seems to keep the order but I need a confirmation.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…