Best way to populate a set length list with random values?

Hi, I would like to have a slideshow of 3 items on my homepage displaying random cars.

Basically how can I instantiate a list of type car to a set length of 3 before populating it with random values?

This topic was automatically closed after 70 days. New replies are no longer allowed.