I have VS.NET Beta 2
my 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"?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.