O'Reilly logo

Computing with C# and the .NET Framework, 2nd Edition by Gittleman

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

5Getting Started with Object-Oriented Programming

5.1 The Object Concept

5.2 Introduction to Object-Oriented Design

5.3 Classes in C#

5.4 Using C# Objects

5.5 Class Variables and Methods

5.6 The QuickFood Example

Abstracting objects makes us more successful. Life would be much more difficult if we only saw blotches of color everywhere or heard unclassified sounds, but instead we see a tree or hear a bell. In programming, too, objects help to organize our programs in ways we can understand and modify. Not every application benefits from object-oriented programming, but for many it is very effective. We first define the object concept without using C#. We illustrate objects by developing a simple vending machine.

Next, using two simple examples, ...

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