list1[0];
Assuming list’s type has an indexer defined.
More Related Contents:
- What is the best way to organize a lot of data which contains multiple conditions?
- How to remove elements from a generic list while iterating over it?
- ArrayList vs List in C#
- List or IList [closed]
- Create an array or List of all dates between two dates [duplicate]
- How do arrays in C# partially implement IList?
- How can I get every nth item from a List?
- How can I add an item to a IEnumerable collection?
- Binding List to DataGridView in WinForm
- XML Serialize generic list of serializable objects
- Select distinct using linq [duplicate]
- Converting from IEnumerable to List [duplicate]
- How to merge 2 List and removing duplicate values from it in C#
- Split string, convert ToList() in one line
- Class List Keeps Printing Out As Class Name In Console?
- How to handle add to list event?
- Generic List – moving an item within the list
- XmlSerializer serialize generic List of interface
- Main: not all code paths return a value
- Check if list contains any of another list
- Check if all items are the same in a List
- C# – elegant way of partitioning a list?
- Count property vs Count() method?
- Console.WriteLine and generic List
- List.Except is not working
- Remove duplicate items from list in C#, according to one of their properties
- Sort one list by another
- Cast Object to Generic List
- How to convert c# generic list to json using json.net?
- How do I copy items from list to list without foreach?