---
id: "P:cAlgo.API.Collections.IReadonlyList`1.Item(System.Int32)"
kind: "property"
type: "T:cAlgo.API.Collections.IReadonlyList`1"
url: "https://help.ctrader.com/ctrader-algo/references/Collections/IReadonlyList/Item/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# IReadonlyList.Item

Member of [IReadonlyList<T>](https://help.ctrader.com/ctrader-algo/references/Collections/IReadonlyList/index.md).

## Item

Represents the item contained in the collection at a specific index

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
T Item {get;}
```

Python:

```python
readonlyList[index: int] -> T
```

### Parameters

- `index` (`int`, Python `int`): The position in the collection where the item is contained

### Returns

`T` — 

### Examples

C#:

```csharp
var robots = AlgoRegistry.Robots;
if (robots.Count > 0)
    Print("First installed cBot: {0}", robots[0].Name);
```

Python:

```python
robots = api.AlgoRegistry.Robots
if robots.Count > 0:
    api.Print(f"First installed cBot: {robots[0].Name}")
```

