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

2 lines
31 B
C#

string s = "".PadLeft(5, '*');