Info
Version: | 2.0.0 |
Author(s): | Jonathan Wood |
Last Update: | Tuesday, February 23, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/SoftCircuits/RandomEnumerableExtensions |
NuGet Url: | https://www.nuget.org/packages/SoftCircuits.RandomEnumerableExtensions |
Install
Install-Package SoftCircuits.RandomEnumerableExtensions
dotnet add package SoftCircuits.RandomEnumerableExtensions
paket add SoftCircuits.RandomEnumerableExtensions
SoftCircuits.RandomEnumerableExtensions Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
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.