SoftCircuits.RandomEnumerableExtensions 1.0.2

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.

Install-Package SoftCircuits.RandomEnumerableExtensions -Version 1.0.2
dotnet add package SoftCircuits.RandomEnumerableExtensions --version 1.0.2
<PackageReference Include="SoftCircuits.RandomEnumerableExtensions" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SoftCircuits.RandomEnumerableExtensions --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Reworked code; Added unit tests; Modified package icon.

  • .NETStandard 2.0

    • No dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 61 3/10/2020
1.0.1 95 3/8/2020
1.0.0 148 7/8/2019