title: How to do Alignment within string.Format in C#?
body: <p>I have this line of code in C#:</p>
  <pre><code>return string.Format(&quot;{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}, {11}&quot;, Name, CPSA, PostCode, Rank, Score1, Score2, Score3, Score4, Score5, Score6, Score7, Score8);
  </code></pre>
  <p>It draws its data from a text file and is output in a list box.
  I want to justify half of it to the left and half to the right so in dream world this:</p>
  <pre><code>return string.Format(&quot;align=left({0}, {1}, {2}, {3}, {4},) align=right ({5}, {6}, {7}, {8}, {9}, {10}, {11})&quot;, Name, CPSA, PostCode, Rank, Score1, Score2, Score3, Score4, Score5, Score6, Score7, Score8);
  </code></pre>
  <p>I have looked around but have no clue how to do it. Can anyone please explain?</p>