NonGenericList
NonGenericList class
Non generic list of objects
public class NonGenericList : IList
Constructors
Properties
| Name | Description | 
|---|
| Count { get; } | Gets the number of elements contained in the ICollection. | 
| IsFixedSize { get; } | Gets a value indicating whether the IList has a fixed size. | 
| IsReadOnly { get; } | Gets a value indicating whether the IList is read-only. | 
| IsSynchronized { get; } | Gets a value indicating whether access to the ICollection is synchronized (thread safe). | 
| Item { get; set; } | Gets or sets the element at the specified index. | 
| SyncRoot { get; } | Gets an object that can be used to synchronize access to the ICollection. | 
Methods
| Name | Description | 
|---|
| Add(object) | Adds an item to the IList. | 
| Clear() | Removes all items from the IList. | 
| Contains(object) | Determines whether the IList contains a specific value. | 
| CopyTo(Array, int) | Copies the elements of the ICollection to an Array, starting at a particular Array index. | 
| GetEnumerator() | Returns an enumerator that iterates through a collection. | 
| IndexOf(object) | Determines the index of a specific item in the IList. | 
| Insert(int, object) | Inserts an item to the IList at the specified index. | 
| Remove(object) | Removes the first occurrence of a specific object from the IList. | 
| RemoveAt(int) | Removes the IList item at the specified index. | 
See Also