lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the result of the following code fragment?
int[][] array = new int[][] { new int[] {1,2,3}, new int[] {4,5,6}, new int[] {7,8,9} }; int x = array[1][2]; Console.WriteLine(x);
A. Error
B. 3
C. 5
D. 9
E. 6
Links:
Jagged Arrays