Driver code
public static void Main ( String [ ] args ) { int [ ] arr = { 3 , 10 , 3 , 11 , 4 , 5 , 6 , 7 , 8 , 12 } ; int n = arr . Length ; Console . WriteLine ( longIncrConseqSubseq ( arr , n ) ) ; } }