看来没有为<代码>电子计算和计算法;uint>(以及与此相关的其他未签字的分类账)下定义。
var s = new int[] { 1, 2, 3 };
s.Sum(); //works fine
var us = new uint[] { 1, 2, 3 };
us.Sum(); //missing method
我知道:
- Have I done something fundamentally wrong/misunderstood the situation?
- What design decisions might cause the omission of
IEnumerable<uint>.Sum()
?