SoftCircuits.RandomEnumerableExtensions 1.0.0

The RandomEnumerableExtensions class library defines Random() and Shuffle() methods. The methods are implemented as extension methods and so they are available as methods on any collection that implements IEnumerable<T> when the library is referenced and visible (via "using" statement).

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

Release Notes

Initial version

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 66 7/8/2019