I’ve recently started using c# moving over from Java. I can’t seem to find how to get a list item by index. In java to get the first item of the list it would be:

list1.get(0);

What is the equivalent in c#?

6 Answers
6

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *