| What are the different types of control statements used in cSharp?
There are mainly three types of control statements used in c#:-
(1)Selection statements:-This will includes the below statements
(i)if
(ii)else
(iii)switch
(iv)case
(2)Iteration statements:-This will includes the below statements
(i)do
(ii)for
(iii)foreach
(iv)while
(3)Jump statements:-This will includes the below statements
(i)break
(ii)continue
(iii)return
(iv)goto | | |