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;
Loading
David SmithPosted Mar 3, 2012, 2:19 AM
VulpesPosted Mar 2, 2012, 6:12 PM
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.