Repeat
Creates a new string by repeating the given string n
times.
- Use
Enumerable.Repeat()
to repeats
n
times,string.Concat()
to convert the result to astring
.
Creates a new string by repeating the given string n
times.
Enumerable.Repeat()
to repeat s
n
times, string.Concat()
to convert the result to a string
.