lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
Which of the following correctly initializes the array?
A. int[] a = new int[-1];
B. var a = new { 1, 2, 3 };
C. var a = new[] { 1, 2, 3 };
D. int[] a = new int[];
Links:
Arrays
The Index Operator ([])