The Morning Brew #3930
16 hours ago
Sometimes it is easy to print the methodname of the current method. This can be typed manually, but with use of Reflection this can be retrieved with the following simple command:
System.Reflection.MethodBase.GetCurrentMethod().Name