RuntimeHelpers Methods

July 28, 2014

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.

  NameDescription
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.
Top

Show:
© 2014 Microsoft