- Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
- Assembly: mscorlib, Version=3.5.0.0
- Implements IEnumerable
- Methods:
- Extension Methods:
- Aggregate, All, Ancestors, Any, AsEnumerable, AsQueryable, Average
- Cast, Concat, Contains, CopyToDataTable, Count, DefaultIfEmpty, DescendantNodes
- Descendants, Distinct, ElementAt, ElementAtOrDefault, Elements, Except, First
- FirstOrDefault, InDocumentOrder, Intersect, Last, LastOrDefault, LongCount, Max
- Min, Nodes, OfType, Remove, Reverse, SequenceEqual, Single, SingleOrDefault
- Skip, SkipWhile, Sum, Take, TakeWhile, ToArray, ToList, Union, Where
- IEnumerable(of T) does not support server-side data paging.
System.Collections.Generic.ICollection(T)
- Defines methods to manipulate generic collections.
- Assembly: mscorlib, Version=3.5.0.0
- Implements IEnumerable(Of T), IEnumerable
- Methods:
- Extension Methods: same as IEnumerable(T) excluding the following:
System.Collections.Generic.IList(T)
- Represents a collection of objects that can be individually accessed by index.
- Assembly: mscorlib, Version=3.5.0.0
- Implements ICollection(Of T), IEnumerable(Of T), IEnumerable
- Methods:
- Extension Methods: same as ICollection(T)
System.Collections.Generic.List(T)
- Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.
- Assembly: mscorlib, Version=3.5.0.0
- Implements IList(Of T), ICollection(Of T), IEnumerable(Of T), IList, ICollection, IEnumerable
- Methods:
- Add, AddRange, AsReadOnly, BinarySearch, Clear, Contains, ConvertAll, CopyTo
- Equals, Exists, Finalize, Find, FindAll, FindIndex, FindLast, FindLastIndex, ForEach
- GetEnumerator, GetHashCode, GetRange, GetType, IndexOf, Insert, InsertRange
- LastIndexOf, MemberwiseClone, Remove, RemoveAll, RemoveAt, RemoveRange
- Reverse, Sort, ToArray, ToString, TrimExcess, TrueForAll
- Extension Methods: same as ICollection(T)
Reference: