c# write character multiple times code example Example: write string multiple times c# String.Concat(Enumerable.Repeat("Hello", 4))