Using System Classes

The System namespace provides core classes for the .NET Framework, including the structures that define primitive CLR types. Almost each application ends up using the System namespace.

Key classes in the System namespace include the following:

  • Array— Base class for all arrays; provides methods for manipulating arrays

  • Attribute— Base class for custom attributes

  • Console— Provides input, output, and error streams for console applications

  • Convert— Provides primitive data type conversion methods

  • Enum— Base class for all enumerations

  • Exception— Base class for all exceptions

  • GC— Provides access to the garbage collector

  • Math— Provides mathematical functions

  • Object— Base class for all classes defined in the .NET Framework and user-defined ...

Get Microsoft® .NET Kick Start 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.