摘要:
String strAppDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);String strFullPathToMyFile = Path.Combine(strAppDir, "fileName.txt");Console.WriteLine(String.Format("Path to the application is: '{0}'." +"Full path to the file in the appli 阅读全文