For a string array of 2 elements should the dimension at the design time be -
More than two
to limit the use of memory
11/19/2019 11:06:32 AM
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.
GET THE FREE APP
Learn Playing. Play Learning
Send us a message