Case1 : If right child is not null
if ( x . right != null ) { Node inorderSucc = leftMostNode ( x . right ) ; Console . Write ( " Inorder ▁ Successor ▁ of ▁ " + x . data + " ▁ is ▁ " ) ; Console . Write ( inorderSucc . data + " STRNEWLINE " ) ; }