A function to print BST in inorder
public static void inorderRec ( Node root ) { if ( root != null ) { inorderRec ( root . left ) ; Console . WriteLine ( root . data ) ; inorderRec ( root . right ) ; } }