title: How to repeat a set of characters
body: <p>I'd like to repeat a set of characters multiple times.  I know how to do it with a single character:</p>
  
  <pre><code>string line = new string('x', 10);
  </code></pre>
  
  <p>But what I'd like would be something more like this:</p>
  
  <pre><code>string line = new string("-.", 10);
  </code></pre>
  
  <p>which would result in: -.-.-.-.-.-.-.-.-.-.</p>
  
  <p>I know the string constructor can't do it, but is there some other way within the BCL? Other suggestions?</p>
  
  <p>Thanks!</p>