title: what's the C# equivalent of string$ from basic
body: <p>And is there an elegant linqy way to do it? </p>
  
  <p>What I want to do is create string of given length with made of up multiples of another string up to that length</p>
  
  <p>So for length - 9 and input string "xxx" I get "xxxxxxxxx" (ie length 9)</p>
  
  <p>for a non integral multiple then I'd like to truncate the line.</p>
  
  <p>I can do this using loops and a StringBuilder easily but I'm looking to see if the language can express this idea easily.</p>
  
  <p>(FYI I'm making easter maths homework for my son)</p>