Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# do while loop

do {
   statement(s);
} while( condition );
_______________EX.___________________
int i = 0;

do
{
	Console.WriteLine(i);
	i++;
}
while (i < 5);

============OUTPUT======================
  0
  1
  2
  3
  4
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
3+8 =