try
List<Entity> lst = new List<Entity>();
var data = lst.Select(k => new { k.Deliverydate.Year, k.Deliverydate.Month, k.TotalCharge }).GroupBy(x => new { x.Year, x.Month }, (key, group) => new
{
yr = key.Year,
mnth = key.Month,
tCharge = group.Sum(k => k.TotalCharge)
}).ToList();