What Is collection?

1) Collection is a group of records.
2) Collection Divided into 4 main categories
A) Indexed Based In this we array and List. In this collection indexed is autogenerated by .Net collection.So by Using index you can access records in collection.
B) KeyValue pair Hashtable and Sorted List – In indexed based collection you have to access element via index and it is not feasible solution so thats why KeyValue collection comes in picture Means you can access records by using Key
C) Prioritized Collection In this Stack and Queues type means in Stack we have LIFO methodology means last in first out and in queue we have first in first out. or FIFO
D) Specialized Collection In this String collection and Hyrid Dictionary in this Hybrid dictionary first start has list but at end becomes an hash table. In case of String collection linked list dictionary, a bit vector, and collections that contain only strings.




Comments