Linq find differences in two lists
Posted
by Salo
on Stack Overflow
See other posts from Stack Overflow
or by Salo
Published on 2010-03-08T19:59:42Z
Indexed on
2010/03/08
20:06 UTC
Read the original article
Hit count: 547
I have two list of members like this:
Before: Peter, Ken, Julia, Tom
After: Peter, Robert, Julia, Tom
As you can see, Ken is is out and Robert is in.
What I want is to detect the changes. I want a list of what has changed in both lists. How can linq help me?
© Stack Overflow or respective owner