引发错误的参考代码如下:public partial class _Default : System.Web.UI.Page{ private string button1="test"; protected void Page_Load(object sender, EventArgs e) { Response.Write(Button1.Text); Response.Write(button1); }}其中的Button1为一个服务器控件,button1为普通变量,虽然是合法的代码但是仍然发生不可预料的错误,所以变量的命名习惯还是需要注意的。