Driver Code
public static void Main ( String [ ] args ) { int [ ] a = { - 2 , 6 , - 2 , - 5 } ; int [ ] b = { - 3 , 4 , - 2 , 8 } ; int n = a . Length ; int m = b . Length ; Console . Write ( maxProduct ( a , n , b , m ) ) ; } }