7 March 2015

Repeat a character x times with c#

Hey everyone, Just a neat little trick I came across on Stackoverflow, repeating a character x times without using a loop: string result = new String(‘x’, 5); //xxxxx…

Read post