/ Published in: C#

Get the calling method using reflection.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.Diagnostics; // get call stack // get calling method name Console.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
URL: http://www.csharp-examples.net/reflection-calling-method-name/
Comments
