RJ.CollectionExtensions 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

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.

Release Notes

This is the fist published version, and contains no updates

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 785 10/1/2014