Answers for "linq search if an id is in a list of objects"

2

linq object list contains

using System.Linq;

bool exists = list.Any(x => x.surname == "Smith");
Posted by: Guest on August-03-2020

Code answers related to "linq search if an id is in a list of objects"

Browse Popular Code Answers by Language