摘要: 刚才在BBS中看到有人提这样一个问题.其实很早以前自己也有这样的想法.不过当时只是看了一下反射的类库,发觉实现不了,就作罢了.现在想想这个问题其实也简单,就是利用调用堆栈来获取这些信息.利用调用堆栈可以获取很多有用的信息.由于代码比较简单,所以也不多说了:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Fo 阅读全文
posted @ 2008-09-19 10:33 greystar 阅读(246) 评论(0) 推荐(0) 编辑