RosettaCodeData/Task/Repeat-a-string/C-sharp/repeat-a-string-4.cs

2 lines
54 B
C#

string s = String.Concat(Enumerable.Repeat("ha", 5));