Thursday, June 6, 2013

How to repeat character multiple times?

public string dottedline = new string(Char, N);

Example:
public string dottedline;
dottedline = new string('.', 200);
Response.Write(dottedline );

No comments:

Post a Comment