car jaguar = new car(textBox1.Text, textBox2.Text);
carList.Add(car);
I know this works but how?
Everytime a new object is created it gets the same name. Does it work because you put it in the list and is it then impossible to find it in the list using the name of the object?