Collections in C#
There are 2 types of collections in C#
1. Non Generic
2. Generic
Non Generic:
1. ArrayList
2. SortedList ( it is like map in Java)
3. Stack ( LIFO)
4. Queue ( FIFO)
5. HashTabe ( it is like map in java)
Generic:
1. List<T>
2. Dictionary<TKey,TValue> ( it is like map in java)
3. SortedList<TKey,TValue>
4. Stack<T> ( LIFO)
5. Queue<T> ( FIFO)
6. HashSet<T> ( it is like map in java)
No comments:
Post a Comment