c# sum object code example Example: c# sum object values double total = myList.Sum(item => item.Amount);