MapPath方法,返回与 Web 服务器上的指定虚拟路径相对应的物理文件路径。先看一张图:

说明:
站点voteengine的主目录为
F:\works\P080430_01_VoteEngineV4\DEVELOP\SOURCE\webpublic为
虚拟目录,指向
E:\CaptureImagespublic下的note为
虚拟目录,指向
F:\binupload目录不存在
看看下面的代码:
string[] s = new string[] { "", "", "","" };
s[0] = Server.MapPath("~/upload/");
s[1] = Server.MapPath("~/public/");
s[2] = Server.MapPath("~/public/note");
s[3] = Server.MapPath("~/public/")+"note";
foreach (string item in s)
{
Response.Write("<br />" + item);
}
请问最终将输出什么?