Examveda

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

A. To execute a block of code repeatedly until a condition is true

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


Join The Discussion

Related Questions on Control Flow Statements in C Sharp