J
Jon Skeet [C# MVP]
Brandon Owensby said:I'm not planning on storing it anywhere. I just wanna be able to take a
class....that is base on instance....not value and use is as a key to a
hashtable. In otherwords...as an example:
Form form = ???;
Hashtable hashtable = new Hashtable();
hashtable.Add(form, somevalue);
somevalueholder = hashtable[form];
I have done this without problem....but my supervisor was concerned it
wouldn't always work. I am seeming to understand that that is fine. The
key doesn't have to be instance based.
Well, I don't know what you mean by "that is base on instance" but the
above will be fine.