September 2021
Intermediate to advanced
1008 pages
31h 9m
English
C# is not a pure object-oriented programming language because it offers multiple programming paradigms. However, object orientation is an important concept with C#; it's a core principle of all the libraries offered by .NET.
The three most important concepts of object orientation are inheritance, encapsulation, and polymorphism. Chapter 3, “Classes, Records, Structs, and Tuples,” talks about creating individual types to arrange properties, methods, and fields. When members of a type are declared private, they cannot be accessed from the outside. They are encapsulated within the type. This chapter covers inheritance and polymorphism and extends encapsulation features ...
Read now
Unlock full access