This module provides students with the basic theory, concepts, and terminology of object-oriented programming. It also provides a minimal amount of C# syntax, specifically for implementing encapsulation. After completing this module, students will be able to: Define the terms object and class in the context of object-oriented programming. Define the three core aspects of an object: identity, state, and behavior. Describe abstraction and how it helps you to create reusable classes that are easy to maintain. Use encapsulation to combine methods and data in a single class and enforce abstraction. Explain the concepts of inheritance and polymorphism. Create and use classes in C# | msdn training Module 7 Essentials of Object-Oriented Programming Contents Overview 1 Classes and Objects 2 Using Encapsulation 10 C and Object Orientation 21 Lab Creating and Using Classes 39 Defining Object-Oriented Systems 52 Review 61 Microsoft Information in this document including URL and other Internet Web site references is subject to change without notice. Unless otherwise noted the example companies organizations products domain names e-mail addresses logos people places and events depicted herein are fictitious and no association with any real company organization product domain name e-mail address logo person places or events is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright no part of this document may be reproduced stored in or introduced into a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise or for any purpose without the express written permission of Microsoft Corporation. Microsoft may have patents patent applications trademarks copyrights or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft the furnishing of this document does not give you any license to these patents trademarks copyrights or other intellectual property. 2001-2002 Microsoft Corporation. All rights reserved. Microsoft MS-DOS Windows Windows NT ActiveX BizTalk IntelliSense JScript MSDN PowerPoint SQL Server Visual Basic Visual C Visual C Visual J Visual Studio and Win32 are either registered trademarks or trademarks of Microsoft Corporation in the . and or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Module 7 Essentials of Object-Oriented Programming iii Instructor Notes Presentation This module provides students .