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 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.