首页 > 代码库 > 获得程序当前目录

获得程序当前目录

     DirectoryInfo sourceDirectory = new DirectoryInfo(Path.Combine(Path.GetFullPath(new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName), "good"));