What is the easiest way to compare the elements of two lists say A and B with one another, and add the elements which are present in B to A only if they are not present in A
Using LINQ's Union
Enumerable.Union(ListA,ListB);
or
ListA.Union(ListB);