I want to find the elements which have the OverSized value == true and sum the BoxQuantity value of them. So far I can find the first element that has the OverSized value = true and returns the BoxQuantity value of it with the code below. Is there anyway to find all the elements that matches that condition and return sum of the box quantity values? (NOT THE SAME AS SUM AMOUNT QUESTION)
var boxNumBig = shippingSummary.ShippingBoxes.Find(item => item.OverSized == true);
int numofBigBox = boxNumBig.BoxQuantity;