title: Define members of static List outside of method
body: <p>I am having class with <code>public static List</code> which looks like this:</p>
  
  <pre><code>public class MyClass
  {
      public static List&lt;Tuple&lt;Ogranicenja, string&gt;&gt; defaultValues = new List&lt;Tuple&lt;Ogranicenja, string&gt;&gt;();
  //Here i want to add item
  }
  </code></pre>
  
  <p>I would add new item to list easy if i am creating class with constructor inside it:</p>
  
  <pre><code>public MyClass()
  {
      defaultValues.Add(new Tuple&lt;Ogranicenja, string&gt;(Ogranicenja.Dnevno, "TEST");
  }
  </code></pre>
  
  <p>BUT i do not want it like that. I want that list to be just like database but inside code with about 20 rows and so it is accessible to every class so how can i accomplish that.</p>
  
  <p>It is not same as <a href="https://stackoverflow.com/questions/14368129/c-sharp-global-variables">THIS</a> question since i know how to do <code>public static int test = 1</code> but how to the same thing with list which is typeOf <code>Tuple</code> and need to have multple items.</p>