LynnaLab.FileComponent.GetSpacingHelper C# (CSharp) Method

GetSpacingHelper() protected static method

protected static GetSpacingHelper ( int spaces ) : string
spaces int
return string
        protected static string GetSpacingHelper(int spaces)
        {
            string s = "";
            while (spaces > 0) {
                s += ' ';
                spaces--;
            }
            while (spaces < 0) {
                s += '\t';
                spaces++;
            }
            return s;
        }