Skip to content

Instantly share code, notes, and snippets.

@wtarr
Created June 25, 2013 17:29
Show Gist options
  • Save wtarr/5860469 to your computer and use it in GitHub Desktop.
Save wtarr/5860469 to your computer and use it in GitHub Desktop.
LINQ list join
var query = from o1 in list1
join o2 in list2
on o1.common equals o2.common
select new
{
o1.name,
o2.address,
o2.phone
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment