Randomize a List
Shuffle any (I)List with an extension method based on the Fisher-Yates shuffle: Usage: The code above uses the much criticised System.Random method to select swap candidates. It’s fast but not as random as it should be. If you need a better quality of randomness in your shuffles use the random number generator in System.Security.Cryptography like so: A simple … Read more