How can I add objects to a list

How can I add objects of the same type to a list with different values. Like object 23 has value 2a on the list