how to get current function name in c#
1. Use the commands below.
Console.WriteLine(string.Format("{0}", System.Reflection.MethodBase.GetCurrentMethod().Name));
System.Reflection.MethodBase.GetCurrentMethod().Name
You can check it in the console window.
목차