Dynamic array in VB NET

  • Thread starter Thread starter htran
  • Start date Start date
H

htran

Hello, is is possible to create a dynamic array in VB NET as in VB6 and
then use Redim Preserve after determining the index of the array?
Thank you in advance for your help.
 
You might find it's easier just to use a collection class built into the
..NET framework ... like ArrayList for example.
 
hrtan, Yes
Following all work in an application I have

ReDim aRptData(0) 'Reset the array
ReDim Preserve aRptData(3) 'Start with array size of 3
ReDim Preserve aRptData(nACtr + 4)
 
Back
Top