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

2 lines
50 B
C#

string s = new String('X', 5).Replace("X", "ha");