Pages

Subscribe:

Ads 468x60px

Tuesday, March 13, 2012

how to use The while loop in asp.net using c#


Finally, C# supports a while loop that tests a specific condition before or after each pass
through the loop. When this condition evaluates to false, the loop is exited.
int i = 0;
while (i < 10)
{
i += 1;
// This code executes ten times.
}

No comments:

Post a Comment