C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Collection

By David Bolton, About.com

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.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Also Known As: Container
Examples: In C++ the STL provides various collections.

Explore C / C++ / C#

About.com Special Features

C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. Collection - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.