❔ Output information
I have two constructors that take a surname or surname and a collection with salaries . How can I get all the information from the "ListObjects" collection?
8 Replies
Just do...?
In the loop,
item.Surname
will be the surname
And item.CollectionSalary
will be the list of strings you have therenot everything is so good
Ah
Well, it's a list of values
So you need to either loop through it, or use
string.Join()
(as a side note, why do you store clearly numeric values as strings...?)so the task requires
Damn, I knew schools were shit but I had no idea they were this shit
Oh well, carry on then
Yes, thank you
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.