System.Collections is Empty

  • Thread starter Thread starter Marty
  • Start date Start date
M

Marty

I am trying to add an ArrayList object to my project. I have added
'using System.Collections;' to my class but it still doesn't recognize
ArrayList. In my object browser, the System.Colletions namespace is
empty! Help! Thx
 
Marty,

Can you post some code? ArrayList is in mscorlib.dll, which should be
referenced by default, so it should be fine.
 
My bad - I was trying to declare it in the namespace before the class
definition! I works now.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top