0

List problem

how do I create a list of 15 objects public List <rCar> rc = new List <rCar>();

27th Oct 2016, 4:10 PM
Yubhaseni J M Dickson
Yubhaseni J M Dickson - avatar
1 Answer
0
you could add each one using loop or maybe another class that inherits List<rCar> and do that in constructor
27th Oct 2016, 6:31 PM
Kamil Kosyl
Kamil Kosyl - avatar