lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 8
What is the output of the program below?
int i = 0; try { while(true) { if (++i >= 3) { return; } } } catch { } finally { Console.Write(i); }
A. 0
B. 4
C. 3
D. [No output]
Links:
The Return Statement