1.

What will be the output of given code snippet? class program { public static void Main(string[] args) { try { throw new NullReferenceException("C"); Console.WriteLine("A"); } catch (ArithmeticException e) { Console.WriteLine("B"); } Console.ReadLine(); } }

A. A
B. B
C. Compile time error
D. Runtime error
Answer» E.


Discussion

No Comment Found