Sample Solutions

Tags:

Project Summary

A collection of various sample programs or code snippets that are standalone or part of articles/tutorials.

Using Multi-dimensional Arrays in .NET

This is a basic implementation of a fake airline reservation program. Add/remove passengers to a seating chart and waiting list.

What You Will Learn

  • How to use a 2D array to manage a seating arrangement
  • Display a graphical representation of the airline seating chart
  • Use an ArrayList to manage a first-in, first-out waiting list
  • Add and remove passengers from the seating chart or waiting list

License

All samples are distributed under the GPL license. If you make any improvements, please let us know so we can update the source code!

Program screenshot
Screenshot of the multi-dimensional array sample program

An error has occured while trying to process your request. Hide