Getting a list item by index

list1[0];

Assuming list’s type has an indexer defined.

Leave a Comment