[ad_1]
You’re printing cars – the collection – instead of car – the current iteration.
Change it to Console.WriteLine(car);.
1
[ad_2]
solved How to properly print the content of a list in C#
[ad_1]
You’re printing cars – the collection – instead of car – the current iteration.
Change it to Console.WriteLine(car);.
1
[ad_2]
solved How to properly print the content of a list in C#