Examveda

What is the correct way to declare an array in C#?

A. int array = new int[5];

B. array = new int[5];

C. int array[] = new int[5];

D. int[] array = new int[5];

Answer: Option D


This Question Belongs to C Sharp Programming >> Introduction To C Sharp

Join The Discussion

Related Questions on Introduction to C Sharp