# Array

say it: **“uh-RAY”** **/əˈreɪ/**

A list of values, with indexes starting at 0.

## What is **Array**?

An **array** holds a list of values, written with `@()` or just commas. Indexes start at 0.

```powershell
$colors = @('red', 'green', 'blue')
$colors[0]      # red
$colors += 'gold'
```

Level: Apprentice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 17, 2026

## In other subjects

- [Array in C#](https://www.ask-codey.com/glossary/array-c-sharp)
- [Array in Data Structures](https://www.ask-codey.com/glossary/array-data-structures)
- [Array in Java](https://www.ask-codey.com/glossary/array)
- [Array in JavaScript](https://www.ask-codey.com/glossary/array-javascript-2)
- [Array in Unix](https://www.ask-codey.com/glossary/array-unix)

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