Can I “multiply” a string (in C#)?

In .NET 4 you can do this:

String.Concat(Enumerable.Repeat("Hello", 4))

Leave a Comment