我有一个按降序排序的字典。每个字符串(键)是一个术语,而 int(值)是它的计数。我如何获得第一个计数?因为它指的是最大计数(频率).......提前谢谢。
Just to inform some of whom commented that the dictionary<string,int> will change its
rank. Be sure, if you are grouping the dictionary by its count, there is no problem
with the order . Always the dictionary will come with highest count at first.