c# - Check if List<List<string>> contains a string -


how can check if list<string>s in list contain given string? know how loop, there way linq/in 1 line?

if (lists.any(sublist => sublist.contains(str))) 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -