Friday 16 December 2011

22.Which of the following is the correct output of the C#.NET code snippet given below?

int[ , , ] a = new int[ 3, 2, 3 ];
Console.WriteLine(a.Length);
A.20   
B.4
C.18
D.10
E.5       
Answer: Option C