IList
IList is the name of interfaces in the .NET framework that describe a list data structure with indexed access and mutability. In .NET there are two closely related interfaces with this name: System.Collections.Generic.IList<T>, a generic interface for type-safe lists, and System.Collections.IList, a non-generic version that operates on objects. Both define an ordered collection that supports insertion and removal at arbitrary positions and provides indexed access.
IList<T> represents a strongly typed list and is commonly implemented by List<T>, which provides fast indexed
IList (non-generic) represents a list of objects and is typically implemented by ArrayList and other legacy
Both interfaces enable common list operations: accessing elements by position, inserting and removing items, and iterating