Has anybody experienced that when testing a #tDictionary key the returned value is incorrect (meaning, two different...

Has anybody experienced that when testing a #tDictionary key the returned value is incorrect (meaning, two different values have a key collision)?

My tDictionary has an estimated number of over 6k collisions, meaning that after inserting all values I get about 17k results when iterating over the available keys, but I should get 23k. The key is basically a string made of two IP sockets (IPAddress A, Port A, IP Address B, Port B, separated by dashes), so it's not that short.

Maybe I'm doing something wrong here. Is tDictionary supposed to have key collisions, and if so, how do I insert values that can be retrieved afterwards?

Comments