Efficiently merge string arrays in .NET, keeping distinct values

string[] result = list1.Union(list2).ToArray();

from msdn: “This method excludes duplicates from the return set. This is different behavior to the Concat(TSource) method, which returns all the elements in the input sequences including duplicates.”

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)