[]
Adds a new custom object to the collection. If the item already exists in the collection, its index is returned.
public int Add(T item)
| Type | Name | Description |
|---|---|---|
| T | item |
| Type | Description |
|---|---|
| int | Returns the index of newly added custom object. |