How to get the name of current function? [duplicate] May 1, 2023 by Tarik Try this: System.Reflection.MethodBase.GetCurrentMethod().Name