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