Vidyalelo
C# Programming · Q45

Control Flow Statements in C Sharp

Programming · C# Programming · question 45

Q45

What will be the output of the following C# code? static void Main(string[] args) Console.WriteLine("HI"); continue; Console.WriteLine("Hello"); Console.ReadLine();

A.
Hi Hello
B.
Hi
C.
Hello
D.
Compile time error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board