0
Can you define an array without a fixed number of indexes?
4 Answers
+ 5
No.
Arrays are static.
Use List instead. They are dynamic and you can declare them without specifying the size.
0
thanks that's really helpful
0
2
- 2
you can declare array without specifying the size too. Is it because the compiler decides the size of the array?