Google News
logo
C# - Quiz(MCQ)
Which of the following is the correct way of declaring an array in C#?
A)
int[ ] intArray = new int[ ];
B)
int[5] intArray = new int[ ];
C)
int intArray[ ] = new int[5];
D)
int[ ] intArray = new int[5];

Correct Answer :   int[ ] intArray = new int[5];

Advertisement