c#读取文件目录path

 

 

 

        private static string GetFullName()
        {
            var current_dir = Path.GetDirectoryName(new Uri(Assembly.GetCallingAssembly().CodeBase).LocalPath);
            return Path.Combine(current_dir, "Properties\\Resources\\before_migration.bak");
        }
 

 

 

 

你可能感兴趣的:(Path)