How to

get constructor using reflection

Published: 1. December 2011 | Updated: 1. December 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » Reflection
Tags: C# Reflection
Was this snippet helpful for you? YESYES / NONO

Import namespaces

using System.Diagnostics;
using System.Reflection;

Code

Type type = typeof(Process);
ConstructorInfo ctor = type.GetConstructor(Type.EmptyTypes);
Send us feedback about this snippet »



Related Snippets: