Driver code
public static void Main ( ) { int [ ] arr1 = { 2 , 5 , 6 , 8 } ; int [ ] arr2 = { 4 , 10 } ; int m = arr1 . Length ; int n = arr2 . Length ; Console . WriteLine ( findSumofEle ( arr1 , m , arr2 , n ) ) ; } }