Driver Code
public static void Main ( ) { int [ ] a = { 1 , 12 , 15 , 26 , 38 } ; int [ ] b = { 2 , 13 , 24 } ; int n1 = a . Length ; int n2 = b . Length ; Console . WriteLine ( findmedian ( a , n1 , b , n2 ) ) ; } }