System Namespace
Introduction
The System namespace contains fundamental classes and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and processing exceptions.
Other classes provide services supporting data type conversion, method parameter manipulation, mathematics, remote and local program invocation, application environment management, and supervision of managed and unmanaged applications.
Using
To access types in the System namespace from C# code without having to provide fully qualified type names, include the adjoinging statement at the beginning of your source code file.
To access types in the System namespace from C++/CLI code without having to provide fully qualified type names, include the adjoining statement at the beginning of your source code file. In addition, you must compile with the /clr
switch.
Classes
-
AccessViolationException
The exception that is thrown when there is an attempt to read or write protected memory.
-
ActivationContext
Identifies the activation context for the current application. This class cannot be inherited.
-
Activator
Contains methods to create types of objects locally or remotely, or obtain references to existing remote objects. This class cannot be inherited.
-
TimeZoneInfo.AdjustmentRule
Provides information about a time zone adjustment, such as the transition to and from daylight saving time.
-
AggregateException
Represents one or more errors that occur during application execution.
-
AppContext
Provides members for setting and retrieving data about an application's context.
-
STAThreadAttribute
Indicates that the COM threading model for an application is single-threaded apartment (STA).
-
String
Represents text as a series of Unicode characters. To browse the .NET Framework source code for this type, see the Reference Source.
-
StringComparer
Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.
Structures
-
ArgIterator
Represents a variable-length argument list; that is, the parameters of a function that takes a variable number of arguments.
-
ArraySegment<T>
Delimits a section of a one-dimensional array.
-
Boolean
Represents a Boolean (
true
orfalse
) value. -
Byte
Represents an 8-bit unsigned integer.
Interfaces
-
_AppDomain
Exposes the public members of the
System.AppDomain
class to unmanaged code. -
IAppDomainSetup
Represents assembly binding information that can be added to an instance of
AppDomain
. -
IAsyncResult
Represents the status of an asynchronous operation.
-
ICloneable
Supports cloning, which creates a new instance of a class with the same value as an existing instance.
-
IComparable
Defines a generalized type-specific comparison method that a value type or class implements to order or sort its instances.
Delegates
Enumerations
-
AppDomainManagerInitializationOptions
Summary
Specifies the action that a custom application domain manager takes when initializing a new domain.
Members
-
No initialization action.
-
Register the COM callable wrapper for the current AppDomainManager with the unmanaged host.
Declaration
[FlagsAttribute] [ComVisibleAttribute(true)] public enum AppDomainManagerInitializationOptions
Remarks
These flags are used for property settings in the
AppDomainManager
class. TheAppDomainManagerInitializationOptions
flags apply only to custom application domain managers; they do not apply to the default manager. TheInitializeNewDomain
method in the default application domain manager does nothing. The default enumeration value is None. -
-
AttributeTargets
-
Base64FormattingOptions
-
ConsoleColor
-
ConsoleKey