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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -