In this chapter, we looked at class hierarchies and some other features that make the C# programming language an OOP language. Knowing these concepts is essential for a C# developer. By knowing class hierarchies, you can design your system so that it is decoupled and flexible. You need to know how to use inheritance in your application to get the best of OOP. The interface, abstract class, sealed class, and partial class will give you good control of your application. When working in a team, defining the class hierarchies properly will help you to maintain code quality and security.
Knowing about tuples and properties will improve your code cleanness and make your life much easier when developing the application. Access specifiers are implementations of the OOP concept of encapsulation. It is important to be familiar with these concepts. You need to know which piece of...