Skip to content

Instantly share code, notes, and snippets.

@michaelbartnett
Created June 28, 2011 17:27
Show Gist options
  • Save michaelbartnett/1051662 to your computer and use it in GitHub Desktop.
Save michaelbartnett/1051662 to your computer and use it in GitHub Desktop.
linq silliness
var oldItemQuery = from i in Items
where (json["response"]["inbox"].FirstOrDefault(
(target) => target["meta"]["group_id"].Value<string>() == i.ID)
) == null
select i;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment