I have two list(listA and listB) of following strong data type:
public class TagPresenter
{
public string TagName { get; set; }
bool IsEnable { get; set; }
public string TagId { get; set; }
}
I need to set ListA's IsEnable to true when listB's item is found in ListA. And this comparison is supposed to happend on TagId. A has all the items that B has. So in short if B has 3 item and A has 10, then in that case I need IsEnable property to true in ListA for all those 3 item. I need to do this in LINQ.Kindly help.