System.Collections.ArrayList

LHTan 21 Reputation points
2022-05-22T09:19:18.69+00:00

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 - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 112.1K Reputation points
    2022-05-22T10:12:49.003+00:00

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


0 additional answers

Sort by: Most helpful