title: The type '...' has no constructors defined
body: <p>I'm noticing the compiler error <strong>The type '...' has no constructors defined</strong> generated when I erroneously attempt to instantiate a particlar class.</p>
  
  <p>It lead me to wonder how I would go about writing my own class that would precipitate this message when someone attempted to instantiate it. </p>
  
  <p>So the code below, what do I need to do to <code>MyClass</code>?</p>
  
  <pre><code>namespace MyNamespace
  {
      class Program
      {
          static void Main(string[] args)
          {
              MyClass mc = new MyClass();
          }
      }
  
      class MyClass
      {
          MyClass()
          {
          }
      }
  }
  </code></pre>