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