I have two collections. One have an ID(int) and IsIDValid(bool) variable. and Other collection has ID(int). I want to update first collection's IsIDValid property to true, if the ID exist in second collection.
EDIT: Thanks for the answers. Can I somehow do it without using foreach loop.