1.

What will be the output of the C#.NET code snippet given below? namespace McqsMentorConsoleApplication { class SampleProgram { static void Main(string[ ] args) { object[] o = new object[] {"1", 4.0, "CompSci", 'B'}; fun (o); } static void fun (params object[] obj) { for (int i = 0; i < obj.Length-1; i++) Console.Write(obj[i] + " "); } } }

A. 1 4.0 CompSci B
B. 1 4.0 CompSci
C. 1 4 CompSci
D. 1 CompSci B
Answer» D. 1 CompSci B


Discussion

No Comment Found