← Back to Question List
C# Code Walkthrough #45
A do-while Loop
📄 Code
Read carefully — what does this print?1int i = 10;2do3{4 Console.WriteLine(i);5 i--;6} while (i > 7);
1int i = 10;2do3{4 Console.WriteLine(i);5 i--;6} while (i > 7);