C# || Dictionary
\n    public string LargestWordCount(string[] messages, string[] senders)\n    {\n        Dictionary<string, int> messageCount = new();\n        for (int i = 0;
```\n    public string LargestWordCount(string[] messages, string[] senders)\n    {\n        Dictionary<string, int> messageCount = new();\n        for (int i = 0; i < messages.Length; i++)\n        {\n            messageCount.TryAdd(senders[i], 0);\n            messageCount[senders[i]] += messages[i].Split(\' \').Count();\n        }\n\n        List<string> names = new();\n        int maxCount = 0;\n        foreach (var kv in messageCount)\n        {\n            if (kv.Value == maxCount)\n            {\n                names.Add(kv.Key);\n            }\n            else if (kv.Value > maxCount)\n            {\n                maxCount = kv.Value;\n                names = new List<string> { kv.Key };\n            }\n        }\n        return names.OrderBy(n => n, StringComparer.Ordinal).Last();\n    }\n```
[]