title: How to pass value to base constructor in C# only after some manipulation
body: <p>Ok, this question has been answered in SO and here is the <a href="https://stackoverflow.com/questions/12051/calling-the-base-constructor-in-c-sharp">How to pass value to base constructor</a></p>
  
  <pre><code>public SMAPIException( string message) : base(message)
  {
      TranslationHelper instance = TranslationHelper.GetTranslationHelper; // singleton class
      string localizedErrMessage = instance.GetTranslatedMessage(message, "" );
      // code removed for brevity sake.
  }
  </code></pre>
  
  <p>But suppose I want to manipulate the "message" info and then set the base class constructor, then how to do it.</p>
  
  <p>Pseudo code below:</p>
  
  <pre><code>public SMAPIException( string message) : base(localizedErrMessage)
  {
      TranslationHelper instance = TranslationHelper.GetTranslationHelper; // singleton class
      string localizedErrMessage = instance.GetTranslatedMessage(message, "" );
      // code removed for brevity sake.
  }
  </code></pre>
  
  <p>// So basically I want the localizedErrMessage to be sent instead of message to base class constructor, is it possible? Please guide me.</p>