摘要:
C#中得到程序当前工作目录和执行目录的五种方法string str="";str += "\r\n" + System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;str += "\r\n" + System.Environment.CurrentDirectory;str += "\r\n" + System.IO.Directory.GetCurrentDirectory();str += "\r\n" + Syst 阅读全文