小编qcm*_*qcm的帖子

对 C# 字典中值的属性求和

我有这样的东西

Dictionary<String, Profile > sto;
Run Code Online (Sandbox Code Playgroud)

其中 Profile 是具有不同属性的类(例如 int Ints)。现在我想知道是否有一个命令可以对整个字典中的所有整数求和。

c# dictionary

0
推荐指数
1
解决办法
581
查看次数

标签 统计

c# ×1

dictionary ×1