SoftCircuits.RandomEnumerableExtensions 1.0.3 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package SoftCircuits.RandomEnumerableExtensions -Version 1.0.3
dotnet add package SoftCircuits.RandomEnumerableExtensions --version 1.0.3
<PackageReference Include="SoftCircuits.RandomEnumerableExtensions" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SoftCircuits.RandomEnumerableExtensions --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SoftCircuits.RandomEnumerableExtensions, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SoftCircuits.RandomEnumerableExtensions as a Cake Addin
#addin nuget:?package=SoftCircuits.RandomEnumerableExtensions&version=1.0.3

// Install SoftCircuits.RandomEnumerableExtensions as a Cake Tool
#tool nuget:?package=SoftCircuits.RandomEnumerableExtensions&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added optimizations, error checking and minor tweaks; Reworked unit tests.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 91 2/23/2021
1.0.3 116 12/2/2020
1.0.2 191 3/10/2020
1.0.1 207 3/8/2020
1.0.0 272 7/8/2019