The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RuntimeHelpers Class
Silverlight
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Provides a set of static methods and properties that provide support for compilers. This class cannot be inherited.
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
The RuntimeHelpers type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() ![]() | GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table. |
![]() ![]() ![]() ![]() | GetObjectValue | Boxes a value type. |
![]() ![]() ![]() ![]() | InitializeArray | Provides a fast way to initialize an array from data stored in a module. |
![]() ![]() ![]() ![]() | RunClassConstructor | Runs a specified class constructor method. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
Show:




