when i use GetType on Class, Void .ctor() is appear on DeclareMembers.
but this class has no member named Void .ctor().
what is Void .ctor()?
when i use GetType on Class, Void .ctor() is appear on DeclareMembers.
but this class has no member named Void .ctor().
what is Void .ctor()?
It is the constructor of the class (in this case a parameterless constructor). You can get it with Type.GetConstructors()
. If you find a .cctor
then it is the static constructor of the class.