Collection : There are two types of collections
(i) Generic (ii) Non Generic
(i) Generic
Collection element contains value only
a) List<T>
b) ConcurrentQueue<T>
c) ConcurrentStack<T>
d) LinkedList<T>
e) HashSetCollection element contains key and value
a) SortedList<TKey,TValue>
b) Dictionary<TKey,TValue>
c) ConcurrentDictionary<TKey,TValue>
(ii) Non-Generic
Collection element contains value only
a) Array
b) ArrayList
c) Queue
d) Stack
Collection element contains key and value
a) Hashtable
b) SortedList
Comments
Post a Comment