c# linq list of objects to list of properties code example
Example: get one property from list of objects linq
var result = from x in Contacts
where x.ContactTypeID == 2 && x.OrganizationName == "COMPANY XYZ"
select x.ContactID;