I want to know the probability of getting duplicate values when calling the GetHashCode() method on string instances. For instance, according to th
GetHashCode()
string
The probability of a collision between two randomly chosen strings is 1 / 2^(bits in hash code), if the hash is perfect, which is unlikely or impossible.
1 / 2^(bits in hash code)