Classes, methods and extension methods dealing with randomness, shuffling, and auxiliary classes and methods.
The static class "R" contains static methods "Next", "NextDouble" and "NextFloat" which use an internal static Random instance, and also contains extension methods "Shuffle" (which...
More information
The Cuemon.Extensions.Collections.Generic namespace contains extension methods that complements the Cuemon.Collections.Generic namespace while being an addition to the System.Collections.Generic namespace.
This is a direct port of RandomShuffler for Dot Net Framework. Everything should work the same.
I am starting with the same version the Dot Net Framework was at, but since this is the first version for Dot Net Core, use with caution.
Update: 1.23..2022: This project now targets Net 6.0.
Update: 11.13.2020: This project has been updated for .Net 5.0.
All working goiong forward if any will be on this project. The .Net Framework
and .Net Core versions are archived.
This is a direct port of RandomShuffler for Dot Net Framework....
More information
The RandomEnumerableExtensions class library implements Random() and Shuffle() extension methods so they are available as methods on any collection that implements IEnumerable<T>.
The Random() method returns one item randomly chosen from the collection. The Shuffle() method reorders the...
More information