Generating an indent string
<p>I've often found I need to generate indents from space characters in recursive methods.  Is there a cleaner way than either of the following:</p>

<pre><code>public void Method1(Node node, StreamWriter s, string indent="")
{
    s.Write(indent);
    s.WriteLine(node.Value);
    foreach (Node child in node.Children)
    {
        Method1(child, s, indent + "    ");
    }
}

public void Method2(Node node, StreamWriter s, int indentLevel=0)
{
    //...
    string indent = String.Join("    ", new String[indentlevel]); // or something similar

    s.Write(ident);
    s.WriteLine(node.Value);

    foreach (Node child in node.Children)
    {
        Method2(child, indentLevel+1);
    }

    //...
}
</code></pre>

<p>I'm sure there's an easier way than this, but I just can't see what it is.</p>
