Is there a way to get the name of the method that we currently find in it?
private void myMethod() { string methodName = __CurrentMethodName__; MessageBox(methodName); }
Like this.ToString (), which returns the name of the class, is there any possible way to get the name of the method, for example, to track or track the application?
source share