[]
Copies the elements of the specified array to the end of the collection.
public virtual void AddRange(T[] value)
Public Overridable Sub AddRange(value As T())
| Type | Name | Description |
|---|---|---|
| T[] | value | An array of type T containing the objects to add to the collection. |
| Type | Condition |
|---|---|
| ArgumentNullException | When the value of |
Adds the contents of another IList<T> to the end of the collection.
public virtual void AddRange(IEnumerable<T> value)
Public Overridable Sub AddRange(value As IEnumerable(Of T))
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | value | A IList<T> containing the objects to add to the collection. |
| Type | Condition |
|---|---|
| ArgumentNullException | When the value of |