System.Char Extension Methods

Repeat(int count)

Summary: Returns a String that is a concatenation of the source Char repeated the specified number of times.
C# Example:
char c = 'a';
string s = c.Repeat(6);
// returns "aaaaaa"

Last edited Mar 16, 2013 at 12:25 PM by crpietschmann, version 1

Comments

No comments yet.