I need to check if a particular string has been seen before, so I was going
to maintain a list of hashcodes from the strings. However, I want to confirm
that the GetHashCode method returns a hashcode based on the string contents,
not on the string object. The reason I'm not completely sure is that I'm not
totally confident I know how string interning will effect things. Can I use
GetHashCode to identify a string?

Thanks,
Erick

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to