Illustrating System.Object in Detail

As you should remember from Chapter 4, “Data Types and Expressions,” in.NET development all types implicitly derive from System.Object, considering both reference and value types. Because of the inheritance relationship, custom types also inherit some methods, so you have to know them. Table 12.1 summarizes inherited methods.

Image

TABLE 12.1 System.Object Methods

You need to understand which members are exposed by System.Object because they will all be inherited by your custom classes and by all built-in classes in the .NET Framework. Chapter 4 and Chapter 8 discuss the GetType and Finalize methods, respectively. ...

Get Visual Basic 2015 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.