Function to print nodes in a given Circular linked list
static void printList ( Node head ) { if ( head == null ) { Console . Write ( " Empty ▁ List STRNEWLINE " ) ; return ; } Node temp = head ; if ( head != null ) { do { Console . Write ( temp . data + " ▁ " ) ; temp = temp . next ; } while ( temp != head ) ; } }