title: Possible to store references to objects in list?
body: <p>I would like to be able to assign values to list objects without directly referencing them:</p>
  
  <p>Pseudo example:</p>
  
  <pre><code>List&lt;int&gt; intList = new List&lt;int&gt; { 0 };
  ???? intPointer = ref intlist[0];
  
  *intPointer = 1;  // I know * isn't possible here, but it is what I'd like to do
  
  Console.WriteLine(intList[0]);
  </code></pre>
  
  <p>and it would output <code>1</code>.</p>
  
  <p>I'm thinking that this isn't possible, but I just wanted to make sure I wasn't missing anything.</p>
  
  <p>Also, I'm not looking for an example that uses <code>unsafe</code>, I'm curious if this is possible in managed code.</p>