Searches for the constructors defined for the current Type, using the specified BindingFlags.
using System;
using System.Reflection;
publicclass t {
public t() {}
static t() {}
public t(int i) {}
publicstaticvoid Main() {
ConstructorInfo[] p = typeof(t).GetConstructors();
Console.WriteLine(p.Length);
for (int i=0;i<p.Length;i++) {
Console.WriteLine(p[i].IsStatic);
}
}
}