日期:2014-05-19  浏览次数:20454 次

帮我看一下这里的运算符优先顺序
content为字符串变量,为 " "
upload.PostedFile.ContentLength   为0
我这样判断
  content!= "   "||   upload.PostedFile.ContentLength> 0
  返回true

而这样
(content!= " ")||(upload.PostedFile.ContentLength> 0)
返回false

不知上面第一个是如何解析的,为何会得到true


------解决方案--------------------
" "和 " "相等?!