Ejemplo n.º 1
0
 public void EachPostOrder(Action <T> action)
 {
     LeftChild?.EachPostOrder(action);
     RightChild?.EachPostOrder(action);
     action.Invoke(this.Value);
 }
Ejemplo n.º 2
0
 public void EachPostOrder(Action <T> action)
 {
     LeftChild?.EachPostOrder(action);
     RightChild?.EachPostOrder(action);
     action(Value);
 }