Check if pair exits
if ( ( prod % curr == 0 ) && ( s . Contains ( prod / curr ) ) ) { Console . Write ( curr + " ▁ " + ( prod / curr ) ) ; return true ; } s . Add ( p . data ) ; p = p . next ; } return false ; }