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

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -