直到现在我还在想HttpUtility.HtmlDecode(" ")
是一个空间。但是下面的代码总是返回 false。
string text = " ";
text = HttpUtility.HtmlDecode(text);
string space = " ";
if (String.Compare(space, text) == 0)
return true;
else
return false;
当我尝试时也一样Server.HtmlDecode()
为什么会这样?
任何帮助将非常感激
谢谢, N