if i want to filter a list of object against a specific id, i can do this:
list.Where(r => r.Id == idToCompare);
what if, instead of a single idToCompare, i have a list of Ids to compare against.
what is the syntax for comparing against a predefined list. something like
int[] listofIds = GetListofIds();
list.Where(r => r.Id "in listofIds");