Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to replace arraylist with new collection used in .net4.0
which will be the appropriate collection class???
Posted
Comments
Ankur\m/ 11-Sep-12 3:19am    
Each collection has it's own importance. We may be able to help you if you explain what operations you will be doing with that collection?

1 solution

Look at List<T>[^] - it is the most generic strongly typed list class and replaced ArrayList in version 2.0 IIRC
 
Share this answer
 
Comments
BillW33 11-Sep-12 8:45am    
I have to agree List<t> is way better than ArrayList; +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900