Summary
This chapter looked at the standard operators
provided by C#, described the mechanics of object equality, and
examined how the compiler converts the standard data types from one
to another. It also demonstrated how you can implement custom
operator support on your data types using operator overloads.
Finally, the chapter looked at a special type of operator overload,
the cast operator, which allows you to specify how instances of
your types are converted to other data types.
Chapter 7 focuses on two closely related member
types that you can implement in your types to support very clean
event-based object models: delegates and events.