c# sum elements in list code example Example: c# calculate sum of list double total = myList.Sum(item => item.Amount);