I am try to inner join to list, I am struggline , can someone assist me.
var groupList = from List1 in List1.AsEnumerable()
join List2 in List2.AsEnumerable()
on new
{
KEY1 = List1.ConcatString,
KEY2 = List1.CreationWriteTime
}
equals new
{
KEY1 = List2.ConcatString,
KEY2 = List2.CreationWriteTime
}
select List2;
Inner joining to list using Linq
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Mar 2, 2012, 1:12 PM EST
You can certainly compare anonymous types for equality if they have the same structure which yours do have, so there shouldn't be a problem there.
David SmithRank #999 · 2K reputationPosted Mar 2, 2012, 9:19 PM EST