using System;
using System.Reflection;
using System.Security;
public class MyClass1
{
public MyClass1(int i) { }
public static void Main()
{
Type myType = typeof(MyClass1);
Type[] types = new Type[1];
types[0] = typeof(int);
ConstructorInfo constructorInfoObj = myType.GetConstructor(
BindingFlags.Instance | BindingFlags.Public, null, types, null);
if (constructorInfoObj != null)
{
Console.WriteLine(constructorInfoObj.ToString());
}
}
}