Search⌘ K
AI Features

Coding Exercise: 2-D Arrays

Discover how to implement and use two-dimensional arrays in C# to organize and access data effectively. This lesson guides you through creating a console app for managing hotel room occupancy, helping you understand indexing, data storage, and retrieval in 2-D arrays.

We'll cover the following...

Problem

This exercise uses a 2-D array to check the occupancy of hotel rooms.

Write a console-based app called Hotel that meets the requirements listed below.

  1. Create a 2-D array
...