Driver Code
public static void Main ( String [ ] args ) { int [ ] arr = { 2 , 1 , 8 , 4 , 32 , 18 } ; int N = arr . Length ; for ( int i = 0 ; i < v . Length ; i ++ ) v [ i ] = new List < int > ( ) ; Console . Write ( prodof2elements ( arr , N ) ) ; } }