|
Post by Admin on May 11, 2016 10:29:19 GMT
Requirement:
LIST1: Collection of Object1: Property1 Property2 LIST2: Collection Of String:
Result Like: Select those list of object1 where Property1 in string collection from LIST2.
|
|
|
Post by Admin on May 11, 2016 10:33:51 GMT
Use like,
var countResult = List1.Count(s => List2.Contains(s.Property2));
|
|