title: Add references to objects to a list
body: <p>I have the following code:</p>
  
  <pre><code>Point a = new Point(3, 3);
  
  List&lt;Point&gt; points = new List&lt;Point&gt;();
  
  points.Add(a);
  
  a = new Point(50,50);
  
  a.X += 50; 
  </code></pre>
  
  <p>But say I want the last two lines of code to also affect the value in the list; how would I go about doing this?
  My guess would be to add pointers to the list? But I think even then "new Point(50,50);" would still not update the list's value?</p>
  
  <p>Thanks</p>