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.
 
Back
Top