Array Length

noun

say it: “uh-RAY LENGKTH” /əˈreɪ lɛŋkθ/

The number of items an array holds, read with its Length property.

What is Array Length in C#?

Array Length — The fixed number of elements an array can hold.

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

In a sentence

  • “The loop runs while i is less than the array's Length.”

Level: Apprentice · More C# terms at this level

Updated

In other subjects