Answers for "c# string repeat char"

C#
5

c# repeat string x times

string result = new String('-', 5);
Output: -----
Posted by: Guest on May-21-2020

C# Answers by Framework

Browse Popular Code Answers by Language