I have VS.NET Beta 2
my code:
When the page was loaded, the text of the label was "3".
I don't understand this. Why "3"?
my code:
Code:
...
private static int i;
private void Page_Load(object sender, System.EventArgs e)
{
i++;
Label7.Text = i.ToString();
....
}
...
When the page was loaded, the text of the label was "3".
I don't understand this. Why "3"?