I have two List
List<List<KeyValuePair<string,string>>> List1;
List<List<KeyValuePair<string,string>>> List2;
I want to get a List>> List3, Which is the differnce of List1 and List2. Note: - Data is something like this:
List 1 -
[{name, David},{eid,55},{sal,25}],
[{name, Tina},{eid,56},{sal,20}],
[{name, Bony},{eid,57},{sal,26}],
[{name, Mahima},{eid,58},{sal,20}]
List 2 -
[{name, David},{eid,55},{sal,25}],
[{name, Tina},{eid,56},{sal,20}]
As in the above lists we can see that there are two elements in List1 which are not available in List2, I want to get the list of those element.
Expected output: List3 -
[{name, Bony},{eid,57},{sal,26}],
[{name, Mahima},{eid,58},{sal,20}]