Possible Duplicate:
Merge two object lists with linq
I have 2 Lists
of type string
:
List1 has items - item1, item2, item3
List2 has items - item1, item4, item5
Now I need to compare both lists
and add the missing ones from List2
into List1
. The modified List1
will be
list 1 : item1, item2, item3, item4, item5