asp.net结构体

来源:百度知道 编辑:UC知道 时间:2024/05/21 08:56:28
高手帮忙看看,为什么了结构体,但却访问不了?

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

struct jun
{
public int a;
}
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void operation1_Click(object sender, EventArgs e)
{
jun.a=10;
}
}

楼主好强。偶看不懂。没学好。呵呵
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request