title: List<T> - do I pass objects or references?
body: <p>Well I have looked into generics and have following question:</p>
  
  <pre><code>List&lt;someClass&gt; list=new List&lt;someClass&gt;
  
  SomeClass MyInstance=SomeClass();
  
  list.Add(MyInstance);
  </code></pre>
  
  <p>I am not sure what will be added to list - reference or object of reference type (pointing to actual value of MyInstance).<br>
  EDIT: Or I will add value (that is reference data type) which points to actual object?</p>
  
  <p>Thanks</p>