Q1
What is the purpose of the 'if' statement in C#?
A.
To execute a block of code repeatedly
B.
To handle exceptions
C.
To execute a block of code if a condition is true
AnswerD.
To define a method
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board