G
Guest
I'm using VB in ASP.NET 2.0. I've created a dictionary with a custom key
that contains 2 integers as properties. The key is in the dictionary, but
when I do a ContainsKey(mykey) it always returns false. This works if the
key in the dictionary is just a single integer.
I a C# forum I found a reference to overriding an objects GetHashCode.
Because the ContainsKey. Anyone have an example of how to do this? Is this
the right approach?
thanks,
Frank
that contains 2 integers as properties. The key is in the dictionary, but
when I do a ContainsKey(mykey) it always returns false. This works if the
key in the dictionary is just a single integer.
I a C# forum I found a reference to overriding an objects GetHashCode.
Because the ContainsKey. Anyone have an example of how to do this? Is this
the right approach?
thanks,
Frank