I declared a C# line of code like so
int hashcode = \"apple\".GetHashCode();
On my computer, a computer at work, and a friend\'s computer,
For your custom classes to return a stable hash code you should override the GetHashCode() method or else the GetHashCode method of the Object class will be used, which I think can vary a lot. (Might even be instance specific).