In computer programming, a collection is an abstract data type that is a grouping of items that can be used in a polymorphic way.
Often, the items are of the same data type such as int or string. Sometimes the items derive from a common type; even deriving from the most general type of a programming language such as object or variant.