adplus-dvertising
frame-decoration

Question

Select the output for the set of 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

Posted under C# programming

Answer: (d).Compile time error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Select the output for the set of code: