Let’s say I have a list called list1. This list1 contains another list, called list2. Now I want to check if list2 in list1 contains certain elements and return another list.
list3 = list1.list2.Where(p => p.something == 1)
Something like that?
This solution will return conditioned items in the inner list.
If you want to get items in the outer list which meets the condition, use: