get constructor using reflection
Published: 1. December 2011 | Updated: 1. December 2011License: Microsoft Public License (MS-PL)
Categories: Framework » Reflection
Tags: C# Reflection
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 » |





