Method Repeat | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Repeat(string, int)
Repeats the string n
times.
public static string? Repeat(this string str, int n)
Parameters
str
string
The text to repeat.
n
int
Number of times to repeat the text.
Returns
The text repeated if n
is greater than zero, otherwise null.
Remarks
This is a Terminal.Gui extension method to string to support TUI text manipulation.