function to display N primes whose sum equals S
static void display ( ) { int length = set . Count ; for ( int i = 0 ; i < length ; i ++ ) Console . Write ( set [ i ] + " ▁ " ) ; Console . WriteLine ( ) ; }