Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a set of static methods and properties that provide support for compilers. This class cannot be inherited.
Inheritance Hierarchy
System. . :: . .Object
System.Runtime.CompilerServices..::..RuntimeHelpers
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class RuntimeHelpers
[SerializableAttribute]
public static class RuntimeHelpers
[SerializableAttribute]
public ref class RuntimeHelpers abstract sealed
[<AbstractClass>]
[<Sealed>]
[<SerializableAttribute>]
type RuntimeHelpers = class end
public final class RuntimeHelpers
The RuntimeHelpers type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() |
OffsetToStringData | Gets the offset, in bytes, to the data in the given string. |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() |
GetObjectValue | Boxes a value type. |
![]() ![]() |
InitializeArray | Provides a fast way to initialize an array from data that is stored in a module. |
![]() ![]() |
RunClassConstructor | Runs a specified class constructor method. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.