Summary

This chapter extended your knowledge about one-dimensional arrays from Chapter 10 to include arrays with several dimensions. In particular, the use of two- and three-dimensional arrays were discussed, along with their close connection to nested loops. The chapter further looked at selected useful built-in array properties, methods, and important algorithms for sorting and searching an array.

The essential points discussed in this chapter are reviewed in this section.

It is difficult to visualize more than three dimensions, but we don't need this ability, because the number of indexes required to reference an array element is equal to the number of dimensions of the array.

The values in a two-dimensional array can be thought of as a table ...

Get C# Primer Plus 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.