Basically I have a logging statement inside of a method. Whenever the method is called, I want to easily call the name of the method, and append it to the logging statement. This is done to minimize the number of hard coded lines in my application. Is this possible to do it cheaply?
Share
No, not cheaply. The expensive and only way of doing it is with a
StackTracemethod call. Best to just hardcode it.