title: Can I be sure the built-in hash for a given string is always the same?
body: <p>I am getting a string hash like this:</p>
  
  <pre><code>string content = "a very long string";
  int contentHash = content.GetHashCode();
  </code></pre>
  
  <p>I am then storing the hash into a dictionary as key mapping to another ID. This is useful so I don't have to compare <a href="http://dotnetperls.com/Content/Dictionary-String-Key.aspx" rel="noreferrer">big strings</a> during default dictionary hash computation but I can just fish the ID from the dictionary by key.</p>
  
  <p>Can I be sure that the hash for a given string ("a very long string") will be always the same?  </p>
  
  <p>Can I be sure that two different strings won't have the same hash?</p>
  
  <p>Also, if possible, how likely is it to get the same hash for different strings?</p>