Driver Code
public static void Main ( ) { int [ ] arr = { 1 , 2 , 3 } ; int N = arr . Length ; int [ ] brr = { 1 , 2 } ; int M = brr . Length ; Console . Write ( cntPairsInTwoArray ( arr , brr , N , M ) ) ; } }