THE PREVIOUS CHAPTERS covered most of the constructs for defining classes and structs, however, several details remain concerning rounding out the type definition with fit-and-finish-type functionality. This chapter introduces how to put the final touches on a type declaration.
Chapter 6 discussed how all types derive from
object. In addition, it reviewed each method available on
object and discussed how some of them are virtual. This section discusses the details concerning overloading the virtual methods.
By default, calling
ToString() on any object will return the fully qualified ...