Chapter 2. Understanding Objects
As you learned in Chapter 1, programming with objects has been around for over four decades. However, it's only in the last 15 years or so that object-oriented programming has become the norm rather than the exception. In this chapter I present a simple example of how objects might be used in an everyday situation. You then expand on the concepts presented in that example to an actual program you build using Visual Studio .NET and the objects it provides for you.
In this chapter, you will learn:
What an object is
What the term state means with respect to objects
What a class is
What it means to instantiate an object
What properties are
What methods are
How to use some of the objects provided by Visual Studio .NET
Get Beginning C# 3.0 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.