Working with collections of values
Some objects in 1C:Enterprise language are collections of values. Most collections have similar methods and properties like Quantity(), Index(), Add(), Delete(), etc. Collection elements usually act as collection properties. You can implement cycling through a collection using For each – Of – Do structure. For most collections you can address collection elements using [<Argument>] (square brackets) operator. Usually an index of collection elements is used as an argument. Collection element indexing starts from zero. It means that the index of the last element in the collection equals total number of elements in the collection minus 1.
See descriptions of specific objects for more information on description of specific collections, their properties, methods and working techniques.