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.
}

Admin

A Software Engineer, Social Media Marketing Expert, writer,

Post a Comment

Previous Post Next Post