title: Calling the base constructor in C#
body: <p>If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that?</p>
  
  <p>For example, if I inherit from the Exception class I want to do something like this:</p>
  
  <pre><code>class MyExceptionClass : Exception
  {
       public MyExceptionClass(string message, string extraInfo)
       {
           //This is where it's all falling apart
           base(message);
       }
  }
  </code></pre>
  
  <p>Basically what I want is to be able to pass the string message to the base Exception class.</p>