[]
Adds an object implementing the IComparable interface to the current list.
protected int Add(IComparable obj)
Type | Name | Description |
---|---|---|
IComparable | obj | The object to add (if the current list already contains this object, an exception is thrown). |
Type | Description |
---|---|
int | The index of the added object in the current list. |