Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# while loop

while(condition) 
{
   statement(s);
}
_______________EX.___________________
int a = 0;
while (a < 10)
{
	Console.WriteLine(a); //output>> 0 .. 1 .. 2 ........ 8 .. 9
	a++;
}
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
7+7 =