using System;
using System.Linq;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
char[] arr1 = { 'a', 'b', 'b', 'x', 'c' };
char[] arr2 = { 'c', 'b', 'y' };
var unionArr = arr1.Union(arr2);
Console.WriteLine(string.Join(", ", unionArr));
}
}
}
/*
run:
a, b, x, c, y
*/