How can I find the full name of a calling method in c#. I have seen solutions:
How I can get the calling methods in C#
How can I find the method that called
This is something like here.
MethodBase method = stackTrace.GetFrame(1).GetMethod(); string methodName = method.Name; string className = method.ReflectedType.Name; Console.WriteLine(className + "." + methodName);