Checking if a list of objects contains a property with a specific value code example
Example: c# check list of objects for value
var matches = myList.Where(p => p.Name == nameToExtract);
var matches = myList.Where(p => p.Name == nameToExtract);