Parameters
- value
- The element that this method will add to the end of the collection.
Return Value
The zero-based index of the newly added element.
Exception | Description |
---|---|
System.ArgumentNullException | Indicates that the element is null. This method will not add null to the collection. |