I have two collections:
List<int> ids;
List<User> users;
Where User
has id, name, etc.
I would like to inner join these two collections and return a new List<int>
with ids from the first collection which are also in the second collection (User id's).
I am new to LINQ and don't know where to start.
Thanks.