CJCoding With Joseph
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
C# Quiz #43

Breaking Out of a while Loop

mediumLoops

What does this code print?

📄 Code

1int i = 0;
2while (true) {
3 if (i == 3) break;
4 Console.Write(i);
5 i++;
6}