Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

while c#

int repeats = 0; 
bool while = true; //creates a bool variable with the true value
while (while = true) //repeats the code in the curly brackets as long
{                    //as the value in the round brackets remains true
   repeats++; //increase the value inside repeats
}
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+3 =