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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -