Exemplo n.º 1
0
        public override void PrintTrees(int depth)
        {
            for (int i = 0; i < depth; i++)
            {
                Console.Write("\t");
            }
            Console.WriteLine($"{this.GetType()}");

            Action.PrintTrees(depth + 1);
            NextNode?.PrintTrees(depth + 1);
        }