puzzlecracker wrote:
> Does arraylist uses a traditional array and List uses nodes to store
> elements, much like in Java?
No, List<T> is simply the generic equivalent of ArrayList. Both
internally use an array to hold the list elements. But ArrayList uses
an array of objects, while List<T> uses an array of instances of type T.
--
Rudy Velthuis
http://rvelthuis.de
"Barabási's Law of Programming: Program development ends when the
program does what you expect it to do — whether it is correct or
not." -- Albert-László Barabási