private void Print(string str, params object[] args) { for (int i = 0; i < level; i++) Console.Write(" "); Console.WriteLine(str, args); }