摘要: 1、取得控制台应用程序的根目录方法 方法1、Environment.CurrentDirectory 取得或设置当前工作目录的完整限定路径 方法2、AppDomain.CurrentDomain.BaseDirectory 获取基目录,它由程序集冲突解决程序用来探测程序集2、取得Web应用程序的根目... 阅读全文
posted @ 2012-04-21 19:02 Love Purple 阅读(230) 评论(0) 推荐(0) 编辑