c# - Determine if list of strings is in another list of strings -


i have 2

list<string>  l1 = {"one", "two","three","four"} l2 = {"one", "three"} 

i want know if of l2 inside l1 bool?

var allin = !l2.except(l1).any(); 

Comments

Popular posts from this blog

c++ - End of file on pipe magic during open -

basic authentication with http post params android -

data.table making a copy of table in R -