can anyone show me how object collections work? here's an example of what i mean:

collection.item.property = "gfsdfdsf"

i want the items to be of a custom data type.