I have a list of User objects (List<User>
). Every object in this list has a list of events (List<Event>
). I need to create a new collection of Events with the common objects in all lists of Events in every user. I mean every user in base collection has every event in new collection of Events.
I think it can be done using foreach loop, but I hope there is more elegant way to do this using LINQ.
Hope, you'll help. Thank you.