public IEnumerable <KeyValuePair <string, int> > MostCommon(int n) { return(ValCount.OrderByDescending(o => o.Value).Take(n)); }
public KeyValuePair <string, int> MostCommon() { return(ValCount.OrderByDescending(o => o.Value).First()); }