Linq with 2 file (error)

I have code linq that have check 2 file but error as below.

Please guide me for solve it.

Thank you.

Hi @fairymemay

Could you elaborate your conditions and query.

Does anyone have another method that they can recommend?

thank you.

Try putting it all on one line instead of breaking it across multiple lines.

But also, what are you trying to do here? There is probably a simpler way than this black box Linq expression.

as the statement is involved within an if/elseif activity, maybe you can share with us the overall goal what is aimed