Mono Class Library: System.Activator Overview | Members

System.Activator.CreateInstance Method

Create an instance of a Type, provided that it has a constructor that takes no parameters.

public static object CreateInstance (Type type)

Parameters

type
The Type to create an instance of.

Returns

An instance of the relevant Type

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0