Answers for "linq select one property from object list"

0

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;
Posted by: Guest on January-08-2021

Code answers related to "linq select one property from object list"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language