Say I have a class Customer which has a property FirstName. Then I have a List.
Customer
FirstName
List
Can LINQ be used to find if th
The technique i used before discovering .Any():
.Any()
var hasJohn = (from customer in list where customer.FirstName == "John" select customer).FirstOrDefault() != null;