Chapter 11. ARRAYS PART II: MULTIDIMENSIONAL ARRAYS—SEARCHING AND SORTING ARRAYS

You will learn about the following in this chapter:

  • Arrays with more than one dimension

  • How to declare, define, and initialize multidimensional arrays

  • How two-dimensional arrays form an invaluable data structure when

    • Constructing computer games involving boards or maps

    • Tracking information that is best presented in a table of rows and columns

  • The differences between rectangular and jagged multidimensional arrays

  • The invaluable relationship between nested loop constructs and multidimensional arrays

  • How the foreach iteration statement can simplify the code significantly compared to other iteration statements when traversing a multidimensional array

  • The most commonly used built-in ...

Get C# Primer Plus now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.