Answer the question
In order to leave comments, you need to log in
How to display a list of all class methods in the console?
There is the following sketch. You need to display the names of the class methods in the console.
class Program{
public static void Main(string[] args)
{
}
private static void methodName1(){}
private static void methodName2(){}
private static void methodName3(){}
}
$> methodName1, methodName2, methodName3
Answer the question
In order to leave comments, you need to log in
In c# there is a reflection that will help to get this information.
Here is an example just about this
https://msdn.microsoft.com/en-us/library/4d848zkb(...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question