c# check if list contains object with property code example Example: check if list of objects contains value c# Click to copybool contains = pricePublicList.Any(p => p.Size == 200);