Ling Merging two List together.
I want to use linq to merge two list, and the with the linq I want to remove the duplicates, how to remove duplicate values after merging the to list in linq. I am assuming you probably call the distinct method after
How to merger ListOne and ListTwo below.
For instance, if one list contains:
List<string> ListOne
"Bob"
"Bill"
"Fred"
"Jim"
and another list contains:
List<string> ListTwo
"Bob"
"Fred"
the result will be:
"Bill"
"Jim"