Summary
Get an array of indices representing the point in a enumerable,
collection or array corresponding to a single int index into the
collection.
- Namespace
- TCLite
.Constraints - Containing Type
- MsgUtils
Syntax
public static int[] GetArrayIndicesFromCollectionIndex(IEnumerable collection, int index)
Parameters
| Name | Type | Description |
|---|---|---|
| collection | IEnumerable | The collection to which the indices apply |
| index | int | Index in the collection |
Return Value
| Type | Description |
|---|---|
| int[] | Array of indices |
