title: How to print the same character many times with Console.WriteLine()
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3754582/is-there-an-easy-way-to-return-a-string-repeated-x-number-of-times">Is there an easy way to return a string repeated X number of times?</a>  </p>
  </blockquote>
  
  
  
  <p>If I want to display a dot 10 times in Python, I could either use this:</p>
  
  <pre><code>print ".........."
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>print "." * 10
  </code></pre>
  
  <p>How do I use the second method in C#? I tried variations of:</p>
  
  <pre><code>Console.WriteLine("."*10);
  </code></pre>
  
  <p>but none of them worked. Thanks.</p>