title: Where stored references to heap memory for reference types?
body: <p>Simple code for example:</p>
  
  <pre><code>Object test=new Object();
  </code></pre>
  
  <p>I understand that memory for <code>test</code> object allocated into heap. </p>
  
  <p>Quote from MSDN:</p>
  
  <blockquote>
    <p>Variables of reference types store references to their data (objects)</p>
  </blockquote>
  
  <p>But I really can't understand where stored this variable values (references to heap data), into stack or into heap or another place?</p>