Illustrating System.Object in Detail

As you 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, and therefore you have to know them. Table 12.1 summarizes inherited methods.

Table 12.1 System.Object Methods

image

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

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.