System.Runtime
Provides fundamental types and base classes that define value types, reference types, enumerated types, value type, reference type, interface, delegate, attribute, and exception handling. This namespace contains types that are always available to managed code.
Classes
Object
The root of all types in the .NET Framework. Provides instance members that are available to all objects.
Methods
-
ToString()
Returns a string that represents the current object.
string -
Equals(object obj)
Determines whether the specified object is equal to the current object.
bool -
GetHashCode()
Serves as the default hash function.
int -
GetType()
Gets the Type of the current instance.
Exception
Represents errors that occur during execution.
Properties
-
Message
Gets a message that describes the current exception.
string -
InnerException
Gets the exception that is the cause of the current exception.
Methods
-
ToString()
Overrides base.ToString() to return a formatted string that includes the exception type, the message, and a stack trace.
string