面向对象程序设计
Using this library we can express the arithmetic expression "1 + 2" as we did in "ExampleOne.AddOneAndTwo()" and can evaluate the expression by calling ".Eval()". Now imagine that we wish to extend this library, adding a new type is easy because we are working with an Object-oriented programming language. For example, we might create the following class: