Adds a new item to the end of the collection.
The new item to add.
After you've added an item, you can use the Item indexer to get it by index, or you can use the item reference to continue to refer to that object after it's added to the collection. Or use Contains to verify that a given item exists in a collection.
To add an item to a position in the collection that's not at the collection end, use Insert.
Minimum supported client
Minimum supported server
|Windows Server 2012 R2|