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