SoftCircuits.RandomEnumerableExtensions (nuget): 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 collection. If the collection implements IList<T>, the items are shuffled in place. Otherwise, the collection is copied in random order.  Now targets .NET Standard 2.0 or .NET 5.0, and supports nullable reference types.
Keywords: random|shuffle|random-shuffle|extension-methods|ienumerable|collections