RJ.CollectionExtensions 1.0.0

Install-Package RJ.CollectionExtensions -Version 1.0.0
dotnet add package RJ.CollectionExtensions --version 1.0.0
<PackageReference Include="RJ.CollectionExtensions" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RJ.CollectionExtensions --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RJ.CollectionExtensions, 1.0.0"
#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 RJ.CollectionExtensions as a Cake Addin
#addin nuget:?package=RJ.CollectionExtensions&version=1.0.0

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

Why is it that the List is so widely used, even when there is absolutly no need for the features of a List? I think one of the most important reasons is it beeing so easily available. You could simply use the extension method .ToList() on any IEnumerable.

To help out in this matter, and hopefully help you use other (more suitable) generic collection types, I've created this package. It contains extension methods for IEnumerable to convert it to:

Basic classes:
- Stack
- Queue
- HashSet

Interfaces:
- ICollection
- IEnumerable
- ICollection
- IList
- ISet
- IDictionary

Concurrent classes:
- ConcurrentBag
- ConcurrentQueue
- ConcurrentStack
- ConcurrentDictionary

This package has 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 Downloads Last updated
1.0.0 1,189 10/1/2014

This is the fist published version, and contains no updates