[virtual]
Adds the specified item to the end of the collection. Returns the index of the newly added item.