After a deep thought and looking into the implementation of ArrayList
, personally I really want to say It's obsolete, I have no reason to use this class after 2.0. But since it's not marked as [Obsolete]
, is there any usage that I didn't know, better than using a generic class? If yes, please give an example. Thanks.
EDIT Let's take List<T>
as an example, it provides all functions of ArrayList
, and it's strongly-typed. So when do we need to use ArrayList
? Maybe sometimes it has a better performance? I don't know. I appreciate if you can show me something special of ArrayList
.