If we hit this block , it means one path is completed . Add it to paths list and print
Console . Write ( " [ " + path [ 0 ] + " , ▁ " ) ; for ( int z = 1 ; z < path . Count - 1 ; z ++ ) { Console . Write ( path [ z ] + " , ▁ " ) ; } Console . WriteLine ( path [ path . Count - 1 ] + " ] " ) ; allPaths . Add ( path ) ; return ; }