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 - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -

authentication - Mongodb revoke acccess to connect test database -