System Namespace

Namespace: System

Provides fundamental classes and base types that define value types, reference types, exceptions, and the methods that are commonly used by all objects and types throughout the .NET Framework.

Classes

Object

Class

Supports all classes in the .NET Framework class hierarchy and provides low-level services that are common to all objects.

public abstract class Object

String

Class

Represents text as a sequence of UTF-16 code units.

public sealed class String : IComparable, ICloneable, IConvertible, IComparable<string>, IEquatable<string>

Int32

Struct

Represents a 32-bit signed integer.

public struct Int32 : IComparable, IFormattable, IConvertible, IComparable<int>, IEquatable<int>

Boolean

Struct

Represents a Boolean value (true or false).

public struct Boolean : IFormattable, IConvertible, IComparable<bool>, IEquatable<bool>

Exception

Class

Represents errors that occur during application execution.

[Serializable] public class Exception : _Exception

DateTime

Struct

Represents an instance of time. The value is expressed as number of ticks or as a date and time.

public struct DateTime : IFormattable, IConvertible, IComparable, IComparable<DateTime>, IEquatable<DateTime>

Interfaces

IDisposable

Interface

Exposes a method to release unmanaged resources.

public interface IDisposable

IEnumerable

Interface

Represents an iterable collection in the .NET Framework.

public interface IEnumerable

Enums

ConsoleColor

Enum

Specifies the foreground and background console colors.

public enum ConsoleColor