title: Generating an indented string for a single line of text
body: <p>What is the best way to generate an indented line from space characters. I mean something similar to this:</p>
  
  <pre><code>    string indent = String.Join("    ", new String[indentlevel]);
      s.Write(indent + "My line of text");
  </code></pre>