title: String.Format()'s alignment behaves different when it comes to MessageBox
body: <p>I am using String.Format() to format some text information and it works perfectly with "Console.WriteLine()" as documented in <a href="https://msdn.microsoft.com/en-us/library/system.string.format(v=vs.110).aspx" rel="nofollow noreferrer">msdn</a>.</p>
  
  <p>My code is like this:</p>
  
  <pre><code>        StringBuilder strBuilder = new StringBuilder();
          strBuilder.AppendLine("Summary Information:");
          strBuilder.AppendFormat("{0,-10}{1,-8}{2,-10}{3,-30}{4,-7}\n", "Header1", "Header2", "Header3", "Header4", "Header5");
          strBuilder.AppendFormat("{0,-10}{1,-8}{2,-10}{3,-30}{4,-7}\n\n", "A", "1", "Y", "Long Information", "13");
          string result = strBuilder.ToString();
  
          Console.WriteLine(result);
  </code></pre>
  
  <p>The console result is shown below.</p>
  
  <p><a href="https://i.stack.imgur.com/K3yZa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K3yZa.png" alt="Console Result"></a></p>
  
  <p>But, when I try to show it on a MessageBox, the columns are shifting. Somehow the spaces are swallowed.</p>
  
  <pre><code> MessageBox.Show(result, "MBox Test");
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/sLxd0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sLxd0.png" alt="MessageBox result"></a></p>
  
  <p>It is also okay, because I wasn't very kneen on the "MessageBox" class of the .Net. It has so much limitations. </p>
  
  <p>So I decided to implement a custom form to display this message. I have tried with Label and RichTextBox. But unfortunately the result was exactly same as the MessageBox.</p>
  
  <p>And I am confused. Why .Net's own controls can not support String.Format()'s alignment. Is there any way I can handle this situation?</p>