gbambo
0
Q:

linq object list contains

using System.Linq;

bool exists = list.Any(x => x.surname == "Smith");
1

New to Communities?

Join the community