Say I have a class Customer
which has a property FirstName
. Then I have a List<Customer>
.
Can LINQ be used to find if the list has a customer with Firstname="John"
in a single statement.. how?
Say I have a class Customer
which has a property FirstName
. Then I have a List<Customer>
.
Can LINQ be used to find if the list has a customer with Firstname="John"
in a single statement.. how?