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++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -