SyntaxFix
Write A Post
Hire A Developer
Questions
Use String.PadLeft, if your desired string contains only a single char.
public static string Indent(int count, char pad) { return String.Empty.PadLeft(count, pad); }
Credit due here