public void PostOrderTraversal() { //If leftNode is not null, call PostOrderTraversal recursively LeftNode?.PostOrderTraversal(); //If rightNode is not null, call PostOrderTraversal recursively RightNode?.PostOrderTraversal(); //Print the tree Console.Write(Data + " "); }