Strongly Typed List(Of T) or Arrays?

cugone

Newcomer
Joined
Apr 30, 2008
Messages
19
I've a custom class in a form that requires multiple instances of this class to be created and stored for later use, my question is:

Which is more efficient? A strongly-typed List(Of T) of the objects or an array of said objects?
 
It really depends on exactly what you are doing in regards to performance. Personally I would tend towards generic collections simply because of the improved functionality they offer and the more OO way of dealing with things they provide.
 
I would go with the List(of T) because it is easier to work with. In terms of performance it depends what you are doing. Generally IMO it's not worth the slight gain in most cases.
 
Back
Top