Array
noun
say it: “uh-RAY” /əˈreɪ/
A fixed-size list of values of one type, each found by its position starting at 0.
What is Array in C#?
Array — A fixed-size, indexed collection whose elements all have the same type.
class Route
{
string[] stops = { "Oak", "Pine", "Lake" };
string secondStop = "Pine";
int stopCount = 3;
}
In a sentence
- “I kept the four quarter scores in an array of ints.”
Level: Apprentice · More C# terms at this level
Updated