# Array Index

A zero-based number that identifies an element's position in an array.

## What is **Array Index** in C#?

**Array Index** — A zero-based number that identifies an element's position in an array.

```csharp
class Route
{
    string[] stops = { "Oak", "Pine", "Lake" };
    string secondStop = "Pine";
    int stopCount = 3;
}
```

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/apprentice)

Updated: September 27, 2026

## In other subjects

- [Array Index in Java](https://www.ask-codey.com/glossary/array-index)
- [Array Index in JavaScript](https://www.ask-codey.com/glossary/array-index-javascript)

Source: https://www.ask-codey.com/glossary/array-index-c-sharp
