title: Are Generic lists stored on the stack or the heap in C#?
body: <p>Are Generic lists stored on the stack Or the heap?</p>
  <h3>example</h3>
  <pre><code>//List of Ints
  List&lt;int&gt; myInts = new List&lt;int&gt;();
  myInts.Add(5);
  myInts.Add(10);
  myInts.Add(20);
  </code></pre>
  <p>Is <code>myInts</code> stored on the stack or the heap? If I add an <code>int</code> to the list, does boxing or unboxing occur?</p>