vendredi 12 avril 2019

How to find private static methods in static class using reflection?

I have a static class and I want to find its private static methods using typeof(MyStaticClass).GetMethods() but it always shows me the public methods only.

How can I achieve this?





Aucun commentaire:

Enregistrer un commentaire