Chapter 5. Arrays and Collections
An array is a collection of related items, either value or reference types. Arrays are immutable, such that the number of dimensions and size of the array are fixed at instantiation. C# supports single-dimensional, multidimensional, and jagged arrays. Single-dimensional arrays, sometimes called vectors, consist of a single row. Multidimensional arrays are rectangular and consist of rows, columns, and so on. A jagged array also consists of rows and columns but is irregular in shape.
Arrays are available in most programming languages, and therefore, most developers have some familiarity with this concept. Arrays are employed in a variety of ways. A personnel program, for example, might have an array of employees. ...
Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.