static void Main(string[] args) { int[] arr1 = new int[10]; int[] arr2 = new int[15]; for (int i = arr1.Length - 1; i >= 0; --i) { arr1[i] = random.Next(MAX); } for (int i = arr2.Length - 1; i >= 0; --i) { arr2[i] = random.Next(MAX); } SearchAndSort.SortInsertion(arr1); SearchAndSort.SortInsertion(arr2); printNumbers(arr1); printNumbers(arr2); printShared1(arr1, arr2); }