System.Object Class

Learn about the class all .NET types derive from.

We'll cover the following

Introduction

All types in .NET, including the ones we create ourselves, inherit from the System.Object class. Even if we don’t state that we want them to inherit from System.Object, our types inherit implicitly. The System.Object class is at the top of the inheritance hierarchy in .NET.

Note: The object is an alias for System.Object.

Methods of System.Object

Four methods are defined in object, and we can call them to prove that we’re inheriting from this class:

Get hands-on with 1200+ tech skills courses.