A utility function to print linked list
static void printList ( Node node ) { while ( node != null ) { Console . Write ( node . data + " ▁ - > ▁ " ) ; node = node . next ; } Console . Write ( " null " ) ; }