I know, I have other options, e.g. I could maintain a separate list of keys. Please don\'t suggest other options. I simply want to know if I can pull this off. Please don\'t
You can do ICollection keyCols = hashtable.Keys;
ICollection keyCols = hashtable.Keys;