[]
Gets the index of the specified item.
public static int IndexOf<T>(this IDataCollection<T> dataCollection, T item) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| T | item | The item that will be searched. |
| Type | Description |
|---|---|
| int |
| Name | Description |
|---|---|
| T |