I am learning LINQ, and I'm not sure how to write a query to return a boolean value indicating whether an element is found in the array. I have a very simple list:
var targetProperties = new string[] { "SelectedDate", "SelectedMonth" };
I need to write a LINQ query that will return true if the element is passed in an array, and false if it is not. What does this query look like? Thank you for your help.
source share