insert new_node between temp and next .
temp . next = new_node ; new_node . prev = temp ; new_node . next = next ; next . prev = new_node ; } static void display ( ) { Node temp = start ; Console . Write ( " in forward direction " while ( temp . next != start ) { Console . Write ( " { 0 } ▁ " , temp . data ) ; = temp . next ; } Console . Write ( " { 0 } ▁ " , temp . data ) ; Console . Write ( " in reverse direction " Node last = start . prev ; temp = last ; while ( temp . prev != last ) { Console . Write ( " { 0 } ▁ " , temp . data ) ; temp = temp . prev ; } Console . Write ( " { 0 } ▁ " , temp . data ) ; }