Test Your Knowledge

C# Fundamentals - Lesson 5: Control Flow Quiz

Answer all questions to test your understanding

1 What does the if statement do in C#?
2 Which statement is best for multiple condition checks?
3 What does the break keyword do in a switch statement?
4 What is the ternary operator syntax in C#?
5 What does the default case do in a switch statement?