What is the “base class” for numeric value types?

The answer is: you don’t need to provide overloads for ALL the numeric types, just for Double and Decimal. All others (except maybe some very unusually large ones) will be automatically converted to these.

Not a base class but in fact that was the red herring. The base class System.ValueType doesn’t help much as it includes types that are not numerics. The language reference i was reading was what got me confused in the first place 🙂

(I was just looking for who to attribute the answer to and it was a combination of Scarecrow and Marc Gravell, but since they were comments i have put the answer here)

Leave a Comment