Home » C# Programming » Arrays

Which of the following is the correct output of the C#.NET code snippet given below? int[][] a = new int[2][]; a[0] = new int[4]{6, 1, 4, 3}; a[1] = new int[3]{9, 2, 7}; Console.WriteLine(a[1].GetUpperBound(0));

Correct Answer: 2

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion