Пример #1
0
 public void AddRightChild(BinaryTree <T> rightChild)
 {
     this.rightChild = rightChild;
 }
Пример #2
0
 public void AddRightChild(T rightChild)
 {
     this.rightChild = new BinaryTree <T>(rightChild);
 }
Пример #3
0
 public void AddLeftChild(BinaryTree <T> leftChild)
 {
     this.leftChild = leftChild;
 }
Пример #4
0
 public void AddLeftChild(T leftChild)
 {
     this.leftChild = new BinaryTree <T>(leftChild);
 }