Vidyalelo
C# Programming · Q19

Control Flow Statements in C Sharp

Programming · C# Programming · question 19

Q19

What is the purpose of the 'do-while' loop in C#?

A.
To execute a block of code repeatedly until a condition is true
Answer
B.
To execute a block of code repeatedly until a condition is false
C.
To iterate over a collection
D.
To handle exceptions

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board