Skip to content Skip to sidebar Skip to footer

Linq Multiple Or With A List

I'm currently working on a C# project where I'm using LINQ. I was wondering if it was possible to make a 'multiple OR clause' with Linq with a list as an entry for the where. I mea

Solution 1:

you can use Contains

listOfId.Contains(T.ReferenceId);

Post a Comment for "Linq Multiple Or With A List"