question

LHTan-4214 avatar image
0 Votes"
LHTan-4214 asked LHTan-4214 commented

System.Collections.ArrayList

I run this program in VS2022 but there is error for declaring the ArrayList (refer to screenshot attached204288-arraylist-error.png). Is the Systems.Collections DLL not imported or due to other reasons? I encountered a similar error when declaring a HashTable.


windows-api
arraylist-error.png (64.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Viorel-1 avatar image
0 Votes"
Viorel-1 answered LHTan-4214 commented

Create a project with a different name, because now you have to write the full class name: Dim arrList As New System.Collections.ArrayList( ).


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks. It works.

0 Votes 0 ·