Thursday, October 27, 2011

loop through collections within a collection in a Lambda

var foo = bars.Where(b => b.bazes.Any(bz => quxIds.Contains(bz.Id)));

No comments:

Post a Comment