Summary
If the `index` is within the `list`, this method outputs the `item` at that `index` and returns true.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Containing Type
- FMUtilities
Syntax
public static bool TryGet<T>(this IList<T> list, int index, out T item)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
list | IList |
|
index | int | |
item | T |
Return Value
Type | Description |
---|---|
bool |