I got a problem with the collection object in Visual Basic 6.

A maximum of 256 items can be added in a collection. But, if you pass this limit, no more item are add in collection, but the count property continue to expand.

Example:

Dim colTest As New Collection
Dim iCpt As integer

For iCpt = 1 To 300
colTest.Add iCpt
Next

The collection contents 256 items, but the count property is 300.

Why?