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