C#

C# - statements

Statements are important elements for writing programs. Generally one statement line corresponds to one line program. The main group of the statements are: cycles, program branching and flow control.

Examples - C#

C#
 i = x * 5;
 while (i>0)
   if (i==10)
     break;
   else 
   {
     i--;
   }

Other pieces of example codes:
C#
x = 0x1234;
while (i<10) ++i;
if (i==10)
     break;
   else 
   {
     i--;
   }
do --i; while ( i > 0);
while ( y <= 32 )  
   y++;
if (i - 10 >0) i = i-5;
Languages: en hu cz sk