Click here to Skip to main content
15,897,704 members
Articles / Programming Languages / C#

How to perform arithmetic operations between any objects by inheriting a common arithmetic parent class in .NET 4.

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
8 Apr 2011CPOL 20.7K   1  
You got me thinking about other ways to accomplish "objects that are not numbers honoring math operators without implementing the operators on the objects."I'm too long in the tooth of strongly typed languages to have a good comfort level with all things dynamic (although reading about the...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Baylor Healthcare System
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions