Driver Code
public static void Main ( String [ ] args ) { int [ ] arr = { 1 , 5 , 9 } ; int [ ] brr = { 2 , 4 , 7 , 10 } ; int N = arr . Length ; int M = brr . Length ; Merge ( arr , N , brr , M ) ; } }