I have a question that I need some assistance on. So, any feedback would be greatly appreciated and examples would be great as well.
If I have an object in a list, for instance, List<Cars>. If I want to return that with an addition row that indicates how many cars I have in that List. (i.e. Cars.Count) - how would I do that.
For instance, the cars contain:
Lexus, 2013, 4 door
Mercedes, 2012, 2 door
Jetta, 2008, 4 door
Explorer, 2010, 4 door
Jaquar, 2013, 4 door
Focus, 2007, 2 door
The cars are in the list of the Cars object and the 6 is the list count but I need them it to show like that on a return of a function.
How would/can I do that?
Any assistance would be greatly appreciated.