I am trying to understand the internal logic of how Orderby actually re-orders when using Orderby with random.Next.
For Example in the following how is the random number actually used to do the reordering?
I would appreciate an easy not too technical explanation.
For Example in the following how is the random number actually used to do the reordering?
Code:
Dim deck = Enumerable.Range(1, 52) deck = deck.OrderBy(Function(n) rng.Next)
Comment