The easiest way to use Linq to sum the array elements is using the Sum method from the Enumerable static class: return Enumerable.Sum( ...
確定! 回上一頁