check if object is inside of list c# code example Example: check if list of objects contains value c# bool contains = pricePublicList.Any(p => p.Size == 200);