Examveda

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: Option D


Join The Discussion

Related Questions on Control Flow Statements in C Sharp