Let's test your knowledge. Click the correct answer from the options.
Which statement is true about if statements in C#?
Click the option that best answers the question.
- They are used to execute a block of code only if a certain condition is true
- They are used to perform different actions based on different conditions
- They are used to repeatedly execute a block of code until a certain condition is met