StringExtensions.Repeat
Extension Method in StringExtensions
Declaration
public static string Repeat(this string str, int n)
Description
Repeats the string a given number of times.
Parameters
str | The string to repeat. |
n | The number of times to repeat the string. |
Returns
string | A new repeated string. |