C# > Statements

C# > Statements


In this section we shall learn about statements.

Functions comprise statements that execute sequentially in the textual order in which they appear. a statement block is a series of statements appearing between the braces ().

There are different types of statements they are

Declaration statement:

declaration statement decalres a new variable, adeclaration statement ends in a semicolon.  

Selection statement:

selection statement causes the program control to be transfered to a specific flow based upon the condition is true or not

Iteration statement:

iteration statements enables sequence of statement to execute rapidly with while, do-while.

Expression statements:

expression statements are the valid statements, an expression statement can change a state or call something that might change state.

Jump statements:

jump statements are the break, continue, goto, return, throw.

 

Read posts under C# > Statements

1 posts found
  1. Declaration statements



Write for us






Hosting Recommendations