Driver code
public static void Main ( ) { ArrayList A = new ArrayList ( ) ; A . Add ( 1 ) ; A . Add ( 2 ) ; A . Add ( 3 ) ; A . Add ( 4 ) ; int k = 10 ; Console . WriteLine ( productSubSeqCount ( A , k ) ) ; } }