title: C# creating a static object list
body: <p>I'm having trouble creating static object list...
  I've created </p>
  
  <pre><code>public class KrepselisClass
  {
      public static List&lt;KrepselisClass&gt; KrepselisList = new List&lt;KrepselisClass&gt;();
  }
  </code></pre>
  
  <p>and declared the list inside this class.
  But how do i access or put things inside the List.
  (I'm creating a restaurant menu and right now I'm trying to make a shopping cart) </p>