Pages

Subscribe:

Ads 468x60px

Tuesday, March 13, 2012

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

in this web programming tutorial we will learn that how we can use do while loop in asp.net using c#. You can also place the condition at the end of the loop using the do . . . while syntax. In
this case, the condition is tested at the end of each pass through the loop:
int i = 0;
do
{
i += 1;
// This code executes ten times.
}
while (i < 10);

No comments:

Post a Comment