On 28 Set, 13:53, Samuel R. Neff <samueln...@nomail.comwrote:
We use a custom collection called KeySet<Tfor a dictionary of keys
only since this scenario comes up a lot. It's made programming these
things a lot easier to read and maintain.
Watch the line wrapping...
HTH,
Sam
Thanks Sam,
It's very generous of you to provide your code.
I was also thinking to do the same (actually more simple :-). By
inheriting from
a SortedList of Key, Boolean or a Dictionary of Key, Boolean and
"shielding"
the Values.
But I guess that would not be much different from using the standard
classes and adding Null Values.
It's strange Microsoft dose not seem to provide them (does it?).
Since one has custom comparers in .NET
its quite natural that the Key can hold all the necessary
information. No?
-P