A list is a type of collection where the elements stored in it can be accessed by their position within the collection. unlike sets lists allow duplicate elements to be stored. A list is comparable to a mathematical tuple with arbitrary arity.
Java[]
- In Java List is an interface in the java.util package that a number of classes implement.
- java.util.Collections is a helper class that contains many static methods that are useful for manipulating lists
.NET[]
- The interfaces IList, IEnumerable and ICollection and their generic equivalents represent various lists and collections.
See Also[]
- Linked list
- ArrayList