Пример #1
0
        //Сombine two arrays with Linq method Union without duplicates
        static int[] UnionTwoArray(int[] arr1, int[] arr2)
        {
            int[] result = arr1.Union(arr2).ToArray();

            return(result);
        }