# Array

A fixed-size, indexed collection whose elements all have the same type.

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

**Array** — A fixed-size, indexed collection whose elements all have the same type.

```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 in Java](https://www.ask-codey.com/glossary/array)
- [Array in JavaScript](https://www.ask-codey.com/glossary/array-javascript-2)

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