private TreeNode FindSuccessor(TreeNode node) { TreeNode current = node.Left; if (current != null) { while (current.Right != null) { current = current.Right; } } return current; }