Reputation: 81
I would like to display text that is stored in my list. I have the index number, and would like to use the index number to get the item from the collection.
Thx
Upvotes: 0
Views: 1712
Reputation: 1499740
If it's a List<string>
, why not just use:
string item = list[index];
?
Upvotes: 5