Skip to content

Instantly share code, notes, and snippets.

@AlexZeitler
Created January 31, 2012 14:10
Show Gist options
  • Select an option

  • Save AlexZeitler/1710679 to your computer and use it in GitHub Desktop.

Select an option

Save AlexZeitler/1710679 to your computer and use it in GitHub Desktop.
[Test]
public void CanHasHash1() {
var hash1 = "123".GetHashCode();
var hash2 = "234".GetHashCode();
var actual = (hash1 - hash2);
Assert.AreEqual(actual, 1566083913);
}
@AlexZeitler
Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment