About This Book

This book primarily covers the topic of building objects. It discusses how they are designed, why they are designed that way, and how the design fits in with .NET. Here is a brief overview of what lies ahead.

Chapter 1, Introduction, is a high-level view of object-oriented programming and the key concepts of the .NET Framework. This chapter establishes key object-oriented terminology and shows how it applies to .NET.

Chapter 2, Object Fundamentals, discusses objects and the .NET world they live in. It includes discussions on compiling objects, namespaces, application domains, assemblies, intermediate language, and the .NET class library.

Chapter 3, Class Anatomy, shows how to build classes. Topics include member variables, methods, properties, access modifiers, and the use of access modifiers in class designs. The chapter also discusses passing parameters, the difference between reference types and value types, creating and destroying objects, the .NET garbage collector, events, and delegates.

Chapter 4, Object-Orientation, focuses on object-oriented programming (OOP). Topics include specialization and generalization, inheritance, and containment. The chapter also discusses polymorphism: substitution, method overloading and overriding, and shadowing. You will learn about using polymorphism, abstract base classes, and the Open-Closed Principle, which allows you to write flexible object hierarchies. Discussions of proper inheritance and the Liskov Substitution ...

Get Object-Oriented Programming with Visual Basic .NET 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.