O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required