Function to find the factors of first n natural numbers
static void findNFactors ( int n ) { for ( int i = 1 ; i <= n ; i ++ ) { Console . Write ( i + " - - > " ) ; foreach ( int divi in divisor [ i ] ) { Console . Write ( divi + " , ▁ " ) ; } Console . Write ( " STRNEWLINE " ) ; } }