I have two lists. I want to see if both lists have a matched on id, if it does, I want to set the color of list2. How can I convert this to linq or would this be fine as is?
For Each item1 In list1
For Each item2 In List2
If item2.ID = item.ID Then
item2.Color = "Red"
End If
Next
Next