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
List list = ...; Customer john = list.SingleOrDefault(customer => customer.Firstname == "John");
john will be null if no customer exists with a first name of "John".