This kind of stuff might be rare case. But here is the code snippet.
public static string GetMethodName()
{
return new StackTrace().GetFrame(1).GetMethod().Name;
}
コメント