Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/02/2008, 01:43
ultimate
 
Fecha de Ingreso: diciembre-2007
Ubicación: Chile
Mensajes: 61
Antigüedad: 16 años, 4 meses
Puntos: 0
Re: en que se diferencia una collection de un arraylist?

Arrays are the most popular collection. However, the .NET FCL offers a variety of other collections with different semantics. Collections are abstractions of data algorithms. ArrayList is an abstraction of a dynamic array, the Stack collection abstracts a stack data structure, the Queue collection abstracts queues, the Hashtable collection abstracts a lookup table, and so on. Each collection exposes both unique and standard interfaces. The unique interface is specific to the collection type. For example, the Stack type has pop and push methods, whereas the Queue type has Dequeue and Enqueue methods. Collections minimally implement the ICollection, IEnumerable, and ICloneable interfaces. (These interfaces were described earlier in this chapter.) The nongeneric collection classes are implemented in the System.Collections namespace. Generic collections are reviewed in Chapter 6, "Generics."


Programming Microsoft Visual C# 2005: The Language
by Donis Marshall
Microsoft Press 2006 (704 pages)
ISBN:0735621810



Un ArrayList es una coleccion eso es lo que dice ahi.

Un Saludo,

The Ultimate