Example #1
0
        public void PrintTree()
        {
            if (Mother != null)
            {
                Console.WriteLine(Mother);
                Mother.PrintTree();
            }

            if (Father != null)
            {
                Console.WriteLine(Father);
                Father.PrintTree();
            }
        }