Johny
0
Q:

c# do loop

int i = 0;

do
{
    Console.WriteLine("Value of i: {0}", i);
    
    i++;

} while (i < 10);
5
do
{
	//Code here (will run at least once)
} while (true); //Condition to test for here
3

New to Communities?

Join the community