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

Answer accepted by question author
  1. Viorel 125.8K 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.