應改用以下寫法:. //檔案路徑 string filePath = string.Format("{0}\\{1}.xml", Directory.GetCurrentDirectory(), DateTime.Now.
確定! 回上一頁