using System;
using System.Linq;
static void Main()
{
string[] str1={"a","b","d"};
string[] str2={"a","c","d","e"};
// or str3 = str1.Union(str2).ToArray();
string[] str3 = str1.Concat(str2).Distinct().ToArray();
foreach(string c in str3)
Console.WriteLine(c);
}