Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# repeat string x times

string result = new String('-', 5);
Output: -----
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #repeat #string #times
ADD COMMENT
Topic
Name
8+5 =