10 Inheritance
10.5 (Optional) Object-Oriented Design with Use Cases and Scenarios
C# is an object-oriented programming language. Object-oriented programming is especially useful in managing the complexity of very large software systems because it focuses on the objects, which are the most stable aspect of these systems. Designing with objects is natural for us and allows us to reuse designs in new contexts, making software less expensive to produce and easier to maintain. To get these benefits we need to use the full range of object-oriented techniques.
In this chapter we focus on inheritance and include discussions of polymorphism and abstract classes. ...
Get Computing with C# and the .NET Framework, 2nd Edition 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.