[]
Converts an object to an integer or a string that can be used as an index in a collection.
public static string GetIndex(object value, out int integer)
Type | Name | Description |
---|---|---|
object | value | The object to convert. |
int | integer | OUT: the integer index if |
Type | Description |
---|---|
string | The string index (use only if |