using System.Collections.Generic;
public static void Main()
List<Dictionary<string, string>> dictionaries = new()
new Dictionary<string, string>
new Dictionary<string, string>
},new Dictionary<string, string>
new Dictionary<string, string>
new Dictionary<string, string>
},new Dictionary<string, string>
Dictionary<string, string> newDict = new();
foreach(var dict in dictionaries){
foreach (var kvp in dict)
if (newDict.ContainsKey(kvp.Key))
newDict[kvp.Key] += kvp.Value;
newDict.Add(kvp.Key, kvp.Value);
foreach(KeyValuePair<string, string> pair in newDict)
Console.WriteLine($"{pair.Key}:{pair.Value}");