📜  int数组到频率字典c#代码示例

📅  最后修改于: 2022-03-11 14:49:05.799000             🧑  作者: Mango

代码示例2
var frequency = myList.GroupBy(x => x).ToDictionary(x => x.Key, x => x.Count());