DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Union Using LINQ
int[] listA= { 1,2,3};
int[] ListB = { 1,5,6,4};
var result = listA.Union(listB);
foreach (var n in result)
{
Console.WriteLine(n);
}




