c# - How would one find the item of a List<string> based on it's index -


i display text stored in list. have index number, , use index number item collection.

thx

you can use elementat:

var item = list.elementat(3); 

or use indexer, like:

var item = list[3]; 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -