I am trying to build a path to put a file there, but I am using string.Format
and the /
doesn't appears between the parameters.
This is my example:
string pdfFile = string.Format("{0}{1}{2}{3}", "MyPDF", "/", this.IdPDF, "/");
Can someone tell me why the /
between the JPG
and Id
doesn't appear?
Here is the answer thanks Damith and rest of all!
string pdfFile = string.Format("{0}/{1}", "MyPDF", this.idPDF);