Exists
should be fine - you just need to handle the possibility of p
being null
.
bool nameExists = pList.Exists(p => p != null && p.Name == "testName");
Alternatively, make sure that your list doesn't contain any null
references to start with - that may well make all kinds of things easier for you.