我正在尝试构建将文件放在那里的路径,但我正在使用string.Format并且/参数之间没有出现。这是我的例子:
string pdfFile = string.Format("{0}{1}{2}{3}", "MyPDF", "/", this.IdPDF, "/");
有人能告诉我为什么and/之间没有出现吗?JPGId
这是答案,谢谢达米特和其他人!
string pdfFile = string.Format("{0}/{1}", "MyPDF", this.idPDF);