Example: InvokeConstructor

This example invokes a constructor with parameters that were retrieved through a GetType method.

public static object NestedInternalClass() {

object[] parameters = new object[0];

object result = LrReplayUtils.InvokeConstructor( System.Type.GetType ("AccessModifiers.InternalClass, AccessModifiers, Version=1.0.0.0, Culture=neutral,"

+" PublicKeyToken=null"), 100663403, parameters);

return result;

}