RJ.CollectionExtensions 1.0.0

dotnet add package RJ.CollectionExtensions --version 1.0.0                
NuGet\Install-Package RJ.CollectionExtensions -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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                
#r "nuget: RJ.CollectionExtensions, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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                

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 255 10/1/2014

This is the fist published version, and contains no updates