Driver code
public static void Main ( String [ ] args ) { int [ ] arr = { 4 , 5 , 1 , 3 , 2 , 6 } ; int n = arr . Length ; int m = 3 ; if ( subArray ( arr , n , m ) ) Console . Write ( " Yes " ) ; else Console . Write ( " No " ) ; } }