摘要: //1. var methodInfo = MethodBase.GetCurrentMethod(); Console.WriteLine(methodInfo.Name); //2. var method = new StackTrace().GetFrame(0).GetMethod(); C 阅读全文
posted @ 2020-07-20 17:54 百小僧 阅读(236) 评论(0) 推荐(0) 编辑