Is there an equivalent of std::set in C#?
- by Danvil
I would like to have a container
StdStyleSet<A>
of
class A : IComparable<A> { ... }
which satisfies the properties of std::set. This would especially be:
The elements themselve are the keys
Automatically sorted on insertion