📜  高级 C# 技巧和命中 - C# 代码示例

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

代码示例1
decimal total = (from account in myAccounts
                       where account.Status == "active"
                       select account.Balance).Sum();