Answers for "c# linq check if list contains value inside an object"

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 "c# linq check if list contains value inside an object"

Browse Popular Code Answers by Language