.Net Dictionary Hashing for Object type keys -
.Net Dictionary Hashing for Object type keys -
i have few questions regarding dictionary below...
a> algorithm used generate hash dictionary<t1,t2> if t1 reference or object type.
b> collision avoiding techniques used part of algorithm?
c> of next techniques more useful have object class (t1) used key 2 different objects same primitive type contents assumed same key?
equals() , gethashcode() call? implementing iequatable<t1> interface? iequalitycomparer<t1> interface? d> when utilize linq lambda function .todictionary<>() necessary ienumerable should sorted on field used key in dictionary?
never mind ! got reply here....
http://social.msdn.microsoft.com/forums/en-us/netfxbcl/thread/4355bcf8-3f01-4a85-b05e-bb2e829009b6/
thx guys.
.net object dictionary types hash
Comments
Post a Comment