Chapter 5. YOUR FIRST OBJECT-ORIENTED C# PROGRAM

You will learn about the following in this chapter:

  • The atomic elements of a C# source program

  • The conventional styles used for naming classes, methods, and variables

  • Operators, operands, and expressions (introductory)

  • How to write and instantiate your own custom-made classes

  • How the theoretical OO discussion about Elevators and Person classes in Chapter 3, “A Guided Tour Through C#: Part I,” can be implemented to form a fully working C# program

  • What a simple object-oriented program looks like and its important elements

  • How to initialize the instance variables of your newly created objects

  • The ability of objects to contain instance variables that contain other objects

  • How programmers implement relationships ...

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.