title: How can I create a string in C# programmatically?
body: <p>I have a string, and I want to add a number of spaces to the beginning of that string based on an int variable.<br>
  I want to do something like this:</p>
  
  <pre><code>int NumberOfTabs = 2;
  string line = "my line";
  string line = String.Format("{0}{1}", "    " * NumberOfTabs, line);
  </code></pre>
  
  <p>...and now line would have 8 spaces </p>
  
  <p>What is the easiest way to do this?</p>