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

Delphi Wmi Query on a Remote Machine -