C# Control Statements

Control Statements

Introduction to Control Statements

➡ A control statement is responsible for deciding which statement to execute (If Statement)

➡It also decides the number of times a statement has to be executed (Loop)

➡SELECTION: Checks condition of an expression and executes only a particular code skipping the others

➡ITERATION: Checks condition of an expression and executes a particular code repeatedly till the expression becomes false


If

If Else

Else If Ladder

Nested If

Switch Case

While Loop

Do-While Loop

For Loop

Nested Loop

Comments

Popular posts from this blog

Kotlin Math Operations and Functions Overview

Wear OS Android UI Application in Kotlin

Kotlin Android Program (QCR) Application Codes That Read Text in Photos