Technology and Me
Sunday, September 14, 2008
C# : List<T> vs. ArrayList
The generic collection class offers many improvements over the non-generic equivalents.
1. API is clean and improved
2. Performance is greatly improved
3. Value Types need not be boxed when used with List
- so no GC
4. Provides compile time safety
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment