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

2 lines
50 B
C#

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