Monday 2 July 2012

collection in c#

Definition: A collection is a data structure in C++ and C# that holds 0 or more objects of a given class. There are different types of collection and these are used according to the required speed of access, insert or traverse, and whether serial or random access is needed. Typical collection types include stacks, queues, lists and hash tables.