摘要: 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 阅读全文
posted @ 2011-12-06 15:32 xiaoshiyilang 阅读(111) 评论(0) 推荐(0) 编辑