Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

A Programmer’s Introduction to C# 2.0Object-Oriented Basics

A Programmer’s Introduction to C# 2.0: Object-Oriented Basics CHAPTER 1 ■ ■ ■ T his chapter introduces object-oriented programming. Those who are familiar with object- oriented programming will probably want to skip this chapter. You can take many approaches to object-oriented design, as evidenced by the number of books written about it. The following introduction takes a fairly pragmatic approach and doesn’t spend a lot of time on design, but the design-oriented approaches can be quite useful to newcomers. What’s an Object? An object is merely a collection of related information and functionality. An object can be something that has a corresponding real-world manifestation (such as an employee object), something that has some virtual meaning (such as a window on the screen), or just some convenient abstraction within a program (a list of work to be done, for example). An object contains the data that describes the object and the operations that can be performed on the object. Information stored in an employee object, for example, might be various identi- fication information (name and address), work information (job title and salary), and so on. The operations performed might include creating an employee paycheck or promoting an employee. When creating an object-oriented design, the first step is to http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png

A Programmer’s Introduction to C# 2.0Object-Oriented Basics

Editors: Gunnerson, Eric; Wienholt, Nick
Springer Journals — Jan 1, 2005

Loading next page...
 
/lp/springer-journals/a-programmer-s-introduction-to-c-2-0-object-oriented-basics-NLC0ElB0vR
Publisher
Apress
Copyright
© Apress 2005
ISBN
978-1-59059-501-5
Pages
1 –4
DOI
10.1007/978-1-4302-0035-2_1
Publisher site
See Chapter on Publisher Site

Abstract

CHAPTER 1 ■ ■ ■ T his chapter introduces object-oriented programming. Those who are familiar with object- oriented programming will probably want to skip this chapter. You can take many approaches to object-oriented design, as evidenced by the number of books written about it. The following introduction takes a fairly pragmatic approach and doesn’t spend a lot of time on design, but the design-oriented approaches can be quite useful to newcomers. What’s an Object? An object is merely a collection of related information and functionality. An object can be something that has a corresponding real-world manifestation (such as an employee object), something that has some virtual meaning (such as a window on the screen), or just some convenient abstraction within a program (a list of work to be done, for example). An object contains the data that describes the object and the operations that can be performed on the object. Information stored in an employee object, for example, might be various identi- fication information (name and address), work information (job title and salary), and so on. The operations performed might include creating an employee paycheck or promoting an employee. When creating an object-oriented design, the first step is to

Published: Jan 1, 2005

Keywords: Base Class; Abstract Class; Parent Object; Multiple Inheritance; Virtual Function

There are no references for this article.