Is there any way to select items in a list that aren’t contained in another? For example:
list1 = From t In list1 Where Not list2.Contains(t.column1)
That gives me the error:
Value of type 'Integer' cannot be converted to '<anonymous type>'
which makes sense, since list2.Contains is expecting the same type as list2. However, the list types are different. I want only to select based on column comparisons.
Have you tried something like this?
I am unsure how efficient it would be, but I think it should work for you.