RuntimeHelpers Methods
Collapse the table of content
Expand the table of content

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.

Public method Static member GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table.
Public method Static member GetObjectValue Boxes a value type.
Public method Static member InitializeArray Provides a fast way to initialize an array from data stored in a module.
Public method Static member RunClassConstructor Runs a specified class constructor method.

© 2017 Microsoft