title: Why aren't these two objects linked?
body: <p>From what I understood from <a href="https://stackoverflow.com/questions/7477073/made-one-instance-of-a-class-equal-to-another-how-to-cancel-that">Made one instance of a class equal to another. – How to cancel that?</a>, objects are simply references to memory meaning that if two objects are equal to each other and one change is made to one object, the same change should apply to another object.</p>
  
  <p>However, when I run this code:</p>
  
  <pre><code>Point original = new Point(100, 100);
  Point temp = original;
  original.X += 100;
  Console.WriteLine(original);
  Console.WriteLine(temp);
  </code></pre>
  
  <p>The output of original and temp is different. Am I missing something?</p>
  
  <p>Here is the output:</p>
  
  <pre><code>{X=200,Y=100}
  {X=100,Y=100}
  </code></pre>