How to get the name of the current method from code [duplicate] September 16, 2022 by Tarik Call System.Reflection.MethodBase.GetCurrentMethod().Name from within the method.