> For the complete documentation index, see [llms.txt](https://docs.sansar.com/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sansar.com/latest/script-api-docs/sansar-utility-namespace/genericenumerable-less-than-t-greater-than.getitem.md).

# GenericEnumerable\<T>.GetItem

### GenericEnumerable.GetItem Delegate

Delegate which returns an item by index.

### Syntax

public delegate *T* **GenericEnumerable.GetItem** ([uint](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32) index)\
where T : class

**Parameters**

> *index*
>
> The index of the item to retrieve. Items in the range \[0..[GenericEnumerable\`1.Count](https://help.sansar.com/hc/en-us/articles/115003630408#P:Sansar.Utility.GenericEnumerable%601.Count)) exist, though they may be null.

**Returns**

> The item or null.

### Remarks

Indexing outside the bounds of the collection may return null or thow an exception.

### Requirements

**Namespace:** Sansar.Utility\
**Assembly:** Sansar.Script (in Sansar.Script.dll)\
**Assembly Versions:** 1.0.0.0

***
