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 development Windows API - Win32
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 122.5K 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.