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
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Oct 1, 2014
$ dotnet add package RJ.CollectionExtensionsNo README available.