-4
1)當我們需要使用HTTPContext(專門)時,請儘可能詳細說明一個例子。HttpContext.Current.Request的功能是什麼?
2)什麼是下面的代碼做
internal string QueryString(string name)
{
if (HttpContext.Current.Request.QueryString[name] == null)
return string.Empty;
else {
return HttpContext.Current.Request.QueryString[name].ToString();
}
3)是否有一個地方,我們避免使用任何其他替代方式的HttpContext
請參閱[HttpContext類](http://msdn.microsoft.com/en-us/library/system.web.httpcontext%28v=vs.110%29.aspx) – Izzy 2014-09-19 10:56:17
請在提問之前做一些調查請在這裏 – Schwarzie2478 2014-09-19 10:56:29