IList Interface

Represents a non-generic collection of objects that can be individually accessed by index.

Inheritance

Members

Remarks

The IList interface is the base interface for all non-generic list classes in the System.Collections namespace. It defines the basic operations for a list, such as adding, removing, and accessing elements by index. Many other collection classes, like ArrayList, implement this interface. For strongly-typed collections, consider using the generic System.Collections.Generic.IList<T> interface.