Check if specific value form dt1 exist in dt2

Let us mention this recommendation as well:

So we rewrite to any with predicate
…Any(Function (x) …)
Or
…Where(Function (x)…).Any()

In case of another optimization is needed also have a look here:

we took benefits from lists/dictionary keys

1 Like