I Know it is near duplicate. But I am looking for a little more solid answers.
I wondered always, is there any way to retain the order in LINQ To Objects. While searching for the solution, fortunately I found, Preserving order with LINQ. I have gone through it.
Also, I searched on MSDN sites, but there is no such remarks/words which confirms the word "Order Preservation".
My question is, however they will also loop through each and every element to process it. Sequential traversal will not be a overhead when compared to accessing the elements randomly.
If not, Whether they have applied any sort of random algorithm to access the elements?
Since, no word is specified about order in MSDN, which means, in future they can change implementation, so I should not ever trust LINQ methods regarding the order.
Is there any way to confirm the order of the retrieval.
Thanks.