public class Example
{
public static void Main()
{
Console.Write("<< Enumerable.Unin >> \n");
string[] names1 = { "A", "B", "C", "D", "E", "F" };
string[] names2 = { "D", "E", "F", "G", "H", "I" };
var mergeQuery = names1.Union(names2);
foreach (var item in mergeQuery)
Console.WriteLine($"{item}");
Console.WriteLine(System.Environment.NewLine);
Console.WriteLine("Press any key to exit");
Console.ReadKey();
}
}