Extension methods to sum IEnumerable(ulong) and IEnumerable(ulong?)
Ever tried to use IEnumerable<T>.Sum on an array of unsigned long integers? Well, you can’t, because the Sum method has not been implemented for ulong or ulong?, so to fill in the gap here’s the extension methods you need using more or less the same code as the existing Sum methods: I used some custom …
Extension methods to sum IEnumerable(ulong) and IEnumerable(ulong?) Read More »