It seems that Sum is not defined for IEnumerable<uint>
(and other unsigned integers, for that matter)
var s = new int[] { 1, 2, 3 };
s.Sum(); //works fine
var us = new uint[] { 1, 2, 3 };
us.Sum(); //missing method
I would like to know:
IEnumerable<uint>.Sum()
?MSDN: Enumerable.Sum
Just a guess: Because uint is not CLS-compliant. Not sure if that would weigh in their decision to not support it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With