摘要:
usingSystem;usingSystem.Diagnostics;usingSystem.Reflection;namespaceMyTest{publicclassTestM{publicvoidTest(){StackFramefr=newStackFrame(1,true);MethodBasemb=fr.GetMethod();Console.WriteLine(mb.Name);Console.WriteLine(mb.DeclaringType.Assembly.GetName());}}} 另外,也可以使用 System.Reflection.Assembly.GetCal 阅读全文
posted @ 2012-06-01 10:21
M'
阅读(2073)
评论(0)
推荐(0)

浙公网安备 33010602011771号