Пример #1
0
 public Node <T> WithRight(BinaryTree <T> newValue)
 {
     return(new Node <T>(Value, Left, newValue));
 }
Пример #2
0
 public Node <T> WithLeft(BinaryTree <T> newValue)
 {
     return(new Node <T>(Value, newValue, Right));
 }