Lambda Expression to filter a list of list of items

96

Lambda Expression to filter a list of list of items -

myList.SelectMany(sublist => sublist)
    .Where(item => item.Name == "ABC" && item.Action == "123");

Comments

Submit
0 Comments