title: How does memory management work for a static generic list in c#?
body: <p>From the static, I understand that whenever a static variable is declared - It's memory get allocated in RAM. Suppose, we have integer <code>static int i = 5;</code> then a memory of 4 byte will be occupied somewhere in computer. And the same will happen if I have a static class or any reference type. </p>
  
  <p><strong>But my question is</strong> - if I declare a generic list like <code>List&lt;string&gt;</code> in c# and that is static. So what or how much memory will be allocated for this list in computer. And I assume that If I add items in this list - then it will require some more memory. </p>
  
  <ul>
  <li>So, it breaks my concept about static - that a static field has
  a fixed memory allocation at the time of declaration and that can not be changed through the application lifetime.</li>
  </ul>
  
  <p>Can someone genius in c# help me out here?</p>