public void MergeAccelo(AcceloDataPerSec items) { foreach (var item in items) { if (Contains(item.Key)) { var val = base[item.Key]; val.Count += item.Count; val.Average += item.Average; } else { base.Add(item); } } }