2011年8月25日

C#中AppDomain.CurrentDomain.BaseDirectory与Application.StartupPath的区别

摘要: C#中AppDomain.CurrentDomain.BaseDirectory与Application.StartupPath的区别 2011-03-08 17:40 // 获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory // 获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName // 获取和设置当前目录(该进程从中启动的目录)的完全限定目录。System.Environment.Cu... 阅读全文

posted @ 2011-08-25 09:39 AndyCai 阅读(20984) 评论(1) 推荐(1) 编辑

导航