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. [No output]
B. 0
C. 3
D. 4
Links:
The Return Statement