如何找到如下所示的 sum 使用 forEach 方法? ... private int Sum(List<int> inputs) { int sum = 0; inputs.ForEach(x => sum += x); return sum; }.
確定! 回上一頁