Answers for "check if an object is in a list Linq"

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 "check if an object is in a list Linq"

Browse Popular Code Answers by Language