I’m trying to get the MethodInfo of a static method in a static class. When running the following line, I only get the basic 4 methods, ToString, Equals, GetHashCode and GetType:
MethodInfo[] methodInfos = typeof(Program).GetMethods();
How can I get the other methods that are implemented in this class?
1 Answer