- 博客(1)
- 收藏
- 关注
转载 C#获取方法名
[MethodImpl(MethodImplOptions.NoInlining)] public string GetCurrentMethod() { StackTrace st = new StackTrace(); StackFrame sf = st.GetFrame(1);
2016-10-30 15:32:28
786
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人