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

2 lines
50 B
C#
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
string s = new String('X', 5).Replace("X", "ha");