I'm looking at replacing a HashSet with a SortedSet because it is better suited to the data I'm storing.
However, all the examples I've seen so far relate to storing simple objects - int's, strings etc.
I want to implement this for a custom class with a number of properties, however the class also includes a date that I want to use as the 'indexer'.
The question is how do I go about declaring a custom indexer for the set to use which will override the default behaviour?
Thanks in advance.