我觉得这样写才对:
bool IPostBackDataHandler.LoadPostData(string postDataKey, System.Collections.Specialized.NameValueCollection postCollection)
{

  string presentValue = this.Text;
  string postedValue = postCollection[this.UniqueID];
  this.Text = postedValue;
  if(!presentValue.Equals(postedValue))
  {
    return true;
  }

  return false;
}
书上都这么写也对,为什么?bool IPostBackDataHandler.LoadPostData(string postDataKey, System.Collections.Specialized.NameValueCollection postCollection)
{

  string presentValue = this.Text;
  string postedValue = postCollection[this.UniqueID];
  
  if(!presentValue.Equals(postedValue))
  {
     this.Text = postedValue;
    return true;
  }

  return false;
}