RuntimeHelpers Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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. |
Show: