Some Thoughts on Elevator Simulations

The C# program presented after the following case study is a first attempt (prototype) to implement an object-oriented elevator simulation. The case study introduces a few goals, problems, and solutions of a simple elevator simulation and attempts to put you in the right frame of mind for the following practical C# example. It is also meant as a reminder of our encapsulation discussion in the beginning of Chapter 3.

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.