Why is GetHashCode() returning a different value for the same string? I can\'t describe how to duplicate this, but trust that this is not a practical joke and that the two follo
Is it possible that you copied this string from somewhere?
I had the same problem. I copied the value ans somehow the BOM header is invisible on the first position.
Try checking the length and you see already a difference. Also you could check byte-by-byte.