C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
C# Fundamentals - Lesson 6: Loops Quiz
Answer all questions to test your understanding
1
Which loop is best when you know how many times to iterate?
while
do-while
for
foreach
2
Which loop always executes at least once?
for
while
do-while
foreach
3
What does the continue statement do in a loop?
Exits the loop entirely
Skips the current iteration
Restarts the loop
Throws an exception
4
Which loop is specifically designed for collections?
for
while
do-while
foreach
5
What does the break statement do in a loop?
Skips the current iteration
Exits the loop entirely
Restarts the loop
Continues to the next iteration
Submit Quiz