Background:
I hope this is unnecessary, but since you don't mention anything which sounds like you're only using the hashcodes for a first check and then later verifying that the strings are actually equal, I feel the need to warn you:
Hashcode equality != value equality
There will be lots of sets of strings which yield the identical hashcode, but won't always be equal.