NobleBlocks

Research indexBook chapter

Overloading Operators

Nash

Apress eBooks1 Jan 2010

NobleIDark:/48914/w1/20260516/AAC69C98DOI10.1007/978-1-4302-2538-6_6

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

C# adopted the capability of operator overloading from C++. Just as you can overload methods, you can overload operators such as +, -, *, and so on. In addition to overloading arithmetic operators, you can also create custom conversion operators to convert from one type to another. You can overload other operators to allow objects to be used in Boolean test expressions.KeywordsOperator MethodBinary OperatorUnary OperatorFloat Point NumberConversion OperatorThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Discussion

Topics

More

Suggest a correction or report