Click here to Skip to main content
Click here to Skip to main content
Alternatives (1)

Tagged as

SortedSet Linq Extension Method

, 25 Aug 2010 CPOL
This simple extension method allows you to create a SortedSet from a Linq query

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

26 Oct 2010
Matt T Heffron
Since SortedSet has a constructor that takes an IEnumerable parameter, the ToSortedSet extension method can be greatly simplified:public static SortedSet ToSortedSet(this IEnumerable t){ return new SortedSet(t);}

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Kevin Marois
President Marois Consulting
United States United States
No Biography provided

| | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 25 Aug 2010
Article Copyright 2010 by Kevin Marois
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid