I receive a troubleshooting : "Use the New keyword to create the instance" when creating an array of ArrayList object.
Below is the code:
Dim arrSmallArrays( ) As System.Collecti ons.ArrayList
For iItem = 0 to iMax
arrSmallArrays( iItem) = New System.Collecti ons.ArrayList
Next
Please show me what is wrong in the code.
Thank you very much.
Below is the code:
Dim arrSmallArrays( ) As System.Collecti ons.ArrayList
For iItem = 0 to iMax
arrSmallArrays( iItem) = New System.Collecti ons.ArrayList
Next
Please show me what is wrong in the code.
Thank you very much.
Comment