Repeat String - CSharp System

CSharp examples for System:String Repeat

Description

Repeat String

Demo Code


using System.Linq;

public class Main{
        public static string RepeatString(char character, int times)
      {/*  ww  w  .ja va  2s . co m*/
         return string.Join(string.Empty, Enumerable.Repeat(character, 70));
      }
}

Related Tutorials