Q. What will be the output of the following C# code?
Code:
using System;
class Program {
static void Main(string[] args) {
int i = 100;
do {
Console.Write(i + " ");
++i;
} while (i <= 50);
}
}
β
Correct Answer: (D)
100