How do I use the \"NOT IN\" to get the missing data, to be added to \"foo\" List.
var accessories = new List(); var foo = new List()
You can combine Concat and Distinct to do this:
Concat
Distinct
foo = foo.Concat(accessories).Distinct().ToList();
Edit: Or Except as others have pointed out, which seems to be the superior choice for this case.
Except