lundi 22 mai 2017

GetConstructors vs. _baseType.GetMethod("GetConstructorImpl", BindingFlags.NonPublic | BindingFlags.Instance)

Is there a difference in c# / .net 4.5.1 between TYPE.GetConstructor(...) and TYPE.GetMethod("GetConstructorImpl", ...)?

I've always used the first solution and seen the second one in an external library.

Thanks a lot





Aucun commentaire:

Enregistrer un commentaire