title: C# Curly Brace in String.Format
body: <p>So I'm currently learning C# and came across this example on the documentation:</p>
  
  <pre><code>DateTime date1 = new DateTime(2009, 7, 1);
  TimeSpan hiTime = new TimeSpan(14, 17, 32);
  decimal hiTemp = 62.1m; 
  TimeSpan loTime = new TimeSpan(3, 16, 10);
  decimal loTemp = 54.8m; 
  
  string result1 = String.Format("Temperature on {0:d}:\n{1,11}: {2} degrees (hi)\n{3,11}: {4} degrees (lo)", 
                                 date1, hiTime, hiTemp, loTime, loTemp);
  Console.WriteLine(result1);
  Console.WriteLine();
  
  Console.WriteLine(result2);
  // The example displays output like the following:
  //       Temperature on 7/1/2009:
  //          14:17:32: 62.1 degrees (hi)
  //          03:16:10: 54.8 degrees (lo)
  </code></pre>
  
  <p>I understand that curly braces with just one number inside it mean to take that index of the argument and put it into the string, but what I don't understand is the second number behind the comma.</p>
  
  <p>For example, what does <code>11</code> mean in <code>{1,11}</code> and <code>{3,11}</code>? What does adding a number behind a comma do when string formatting in C#?</p>
  
  <p>Thanks in advance!</p>