What is the easiest way to build a string if i have the character and length
c#, string
Solution
You can use string constructor: `new string('A', 5);`
Problem
In C#, as inputs i have: Letter: "A" Length: 5 and i want to output: "AAAAA" Is there a more elegant way of doing this besides loop?