I can, therefore I am
Thursday 22 January 2015
Check whether one list contain another list value in LINQ
var CheckExist = List1.Any(l1 => List2.Any(l2 => l1.Name == l2.Name));
Here CheckExist object will return true if any record of List1 contain in List2
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)