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