Declaration
public static string Repeat(
this string input,
int numTimes
)
Summary
Concatenates the specified number of repetitions of the current string.
Parameters
this string | input |
The string to be repeated. |
int | numTimes |
The number of times to repeat the string. |
Returns
A concatenated string containing the original string the specified number of times.