Skip to content

Instantly share code, notes, and snippets.

@tophertimzen
Created June 12, 2015 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tophertimzen/010b19fdbde77f251414 to your computer and use it in GitHub Desktop.
Save tophertimzen/010b19fdbde77f251414 to your computer and use it in GitHub Desktop.
Type reference = typeof(GrayFrost.testClass);
ConstructorInfo ctor = reference.GetConstructor (Type.EmptyTypes);
object wantedObject = ctor.Invoke(new object[]{});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment