I want to make a hashtable of object references and I want a different object's reference to be the key. How can I do this in vb.net?
In java (assuming I am using the default toString method and that add() takes a string as a key and an object ref as the value) this would be something like:
hashtable.add(obj1.toString(), obj2)
I do not want to use a vb.net gethashcode() function because I want deep clones of objects to have different identifiers.
A related question is what is the default toString in vb.net?
In summery: How can I get a string that represents an object reference in vb.net?