+ 4
Dimensioning an array
For a string array of 2 elements should the dimension at the design time be - Dimensionless / Two / More than two to limit the use of memory
1 Resposta
+ 2
Now see why would you keep the size more than 2 if you have only 2 elements to occupy the array.
Keeping the size 2 or giving no size and initializing the array with only 2 elements are both the same thing and will occupy equal memory space.