System.Collections: Generic.ICollection<T>

 

Definisce i metodi per manipola le collezioni generiche.

Implementazioni:

IEnumerable<T>
IEnumerable

Osservazioni:

La versione non generica ICollection definisce dimensioni, enumeratore e i metodi di sincronizzazione.
Le interfacce quali IDictionary<TKey, TValue> e IList<T> sono interfacce specializzate che implementano ICollection<T> e poi le rispettive classi
ne implementano la logica.
Mentre le classi come Queue<T> e Stack<T> implementano direttamente la ICollection<T>.

Thread Safety:

 

posted @ giovedì 2 luglio 2009 21.44

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 6 and 7 and type the answer here:
 

Live Comment Preview: