System.Runtime Namespace
Provides types that are fundamental to all .NET applications, including types that represent common data types, exceptions, input/output, and much more. This namespace is available in all versions of the .NET Framework and .NET Core.
Namespaces within System.Runtime
-
System.Runtime.CompilerServices
Contains types that enable compiler support for language features. These types are typically used by compilers and are not generally used by application developers.
-
System.Runtime.InteropServices
Provides a wide variety of services for interoperability with unmanaged code, including COM, Windows, and C++.
-
System.Runtime.Loader
Contains types that enable the loading and unloading of assemblies.
-
System.Runtime.Serialization
Provides types for serializing and deserializing objects.
Key Types in System.Runtime
-
Object
The base class for all types in the .NET Framework, providing methods for comparison, manipulation, and information about the object, its constructors, and its properties.
-
String
Represents text as a sequence of code points. String is an immutable type; that is, an object of type String cannot be changed after it is created.
-
Int32
Represents a 32-bit signed integer.
-
Boolean
Represents a Boolean value (true or false).
-
Exception
The base class for all exceptions in the .NET Framework, providing a foundation for .NET exception handling.