public string Sort(Dictionary<string, int> d) { var l = d.OrderByDescending(k => k.Value).ToList(); return l[0].Key; }