title: Static constructor in C#
body: <p>I am trying to use a static constructor like the following:</p>
  
  <pre><code>public static DataManager()
  {
      LastInfoID = 1;
  }
  </code></pre>
  
  <p>and getting this error:</p>
  
  <blockquote>
    <p>access modifiers are not allowed on static constructors</p>
  </blockquote>
  
  <p>I would like to know what's my problem.</p>