Array Index
noun
say it: “uh-RAY IN-deks” /əˈreɪ ˈɪndɛks/
The position number of an item in an array, starting at 0 for the first.
What is Array Index in C#?
Array Index — A zero-based number that identifies an element's position in an array.
class Route
{
string[] stops = { "Oak", "Pine", "Lake" };
string secondStop = "Pine";
int stopCount = 3;
}
In a sentence
- “The first score is at index 0, so scores[0] gives me 21.”
Level: Apprentice · More C# terms at this level
Updated