public static void Main()
int[] arr1 = new int[100];
int[] arr2 = new int[100];
int[] arr3 = new int[200];
Console.Write("\n\nMerge two arrays of same size sorted in ascending order.\n");
Console.Write("------------------------------------------------------------\n");
Console.Write("Input the number of elements to be stored in the first array :");
s1 = int.Parse(Console.ReadLine());
Console.Write("Input {0} elements in the array :\n",s1);
Console.Write("element - {0} : ",i);
arr1[i] =int.Parse(Console.ReadLine());
Console.Write("Input the number of elements to be stored in the second array :");
s2 = int.Parse(Console.ReadLine());
Console.Write("Input {0} elements in the array :\n",s2);
Console.Write("element - {0} : ",i);
arr2[i] = int.Parse(Console.ReadLine());
Console.Write("\nThe merged array in ascending order is :\n");
Console.Write("{0} ", arr3[i]);