title: c# difference between static member or static constructor and singleton
body: <p>Is there any difference /tradeoff between using a static <strong>member object</strong> and the singleton pattern?  I often use the code below in  C#,  but are there any use cases where the Singleton is preferred?</p>
  
  <pre><code> public class MyStaticObject
      {
          static MyStaticObject _object =new MyStaticObject();
  
          // OR with static constructor
          //static MyStaticObject _object;
          //static MyStaticObject()
          //{
          //    _object = new MyStaticObject();
          //    // additional static construction logic...
          //    //   ...
          //}
      }
  </code></pre>
  
  <p>NOTE:  This is not the same question as:
  <a href="https://stackoverflow.com/questions/519520/difference-between-static-class-and-singleton-pattern">Difference between static class and singleton pattern?</a></p>
  
  <p>and other questions which look at static CLASSES.  Here in my program, the <code>class</code> is not static, it is just a singleton object.  So I have all the benefits of inheritance as listed in the question in the link, but I am not using the singleton pattern for construction.  </p>