© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
V. SarcarSimple and Efficient Programming with C# https://doi.org/10.1007/978-1-4842-7322-7_1

1. Flexible Code Using Polymorphism

Vaskaran Sarcar1  
Kolkata, West Bengal, India

Ask a developer, “What are the fundamental characteristics of object-oriented programming (OOP)?” and you will get an immediate reply saying, “Classes (and objects), inheritance, abstraction, encapsulation, and polymorphism are the most important characteristics in OOP”. In addition, when you analyze enterprise code that is based on OOP, you’ll find different forms of polymorphism. But the truth is, a novice programmer rarely uses the power of polymorphism. This chapter focuses on ...

Get Simple and Efficient Programming with C# : Skills to Build Applications with Visual Studio and .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.