Is there a better way to get the difference of 2 lists in VB.net? -


for 2 lists of string s , t, i'd members of s not in t. within each list, there no duplicates.

in python, i'd use s.difference(t)

is there concise .net method? i'd avoid using loop.

you can use enumerable.except.

dim difference = s.except(t) 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -