Driver code
public static void Main ( String [ ] args ) { int [ ] X = { 10 , 19 , 18 } ; int [ ] Y = { 11 , 15 , 9 } ; int m = X . Length ; int n = Y . Length ; Console . Write ( countPairs ( X , Y , m , n ) ) ; } }