Click or drag to resize
IList Interface
Represents a non-generic collection of objects that can be individually accessed by index.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public interface IList : ICollection, IEnumerable

The IList type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an item to the IList.
Public methodClear
Removes all items from the IList.
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodRemove
Removes the first occurrence of a specific object from the IList.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.)
Public propertyIsFixedSize
Gets a value indicating whether the IList has a fixed size.
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.)
Top
See Also