title: How to create global object in a C# library
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/11781131/best-way-to-make-data-that-may-change-during-run-time-accessible-to-the-whole">Best way to make data (that may change during run-time) accessible to the whole application?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a C# library.</p>
  
  <ol>
  <li>Can a library have global objects/variables?</li>
  <li>Can an initialization method for those objects be automatically executed from a library when running the main project or do I have to make it a static method and run it from the main project?</li>
  </ol>