代码改变世界

06 2009 档案

摘要:原文:http://blog.sina.com.cn/s/blog_43aea3250100b9pu.html第一种方法: string AppPath = AppDomain.CurrentDomain.SetupInformation.ApplicationBase; if (AppPath.EndsWith("\\") || AppPath.EndsWith("/")) AppPath= A... 阅读全文
posted @ 2009-06-10 20:22 hyddd 阅读(895) 评论(0) 推荐(0)
摘要:原文:http://blog.csdn.net/21aspnet/archive/2008/12/15/3522152.aspx一.获取当前函数名:[代码]结果:Test at offset 72 in file:line:column <filename unknown>:0:0,Test就是当前函数。二.获取源码文件名,当前函数,当前代码行,列:[代码] 阅读全文
posted @ 2009-06-10 19:55 hyddd 阅读(6685) 评论(0) 推荐(0)