Hacker News new | ask | show | jobs
by porges 4147 days ago
You have to store the length, C# strings can contain '\0' (although the hashing code doesn't take this into account!)